For example, take health insurance. No matter if it's voluntary or mandatory, at root it's a system where healthy people pay for sick people. If you're healthy today, you still pay because you might get sick tomorrow. But if sickness were 100% knowable in advance, then healthy people would have no incentive to participate, or even to set up such a system in the first place! The system only works due to a lack of knowledge, and advanced machine learning algorithms could easily break it.
The root of the problem is that the market-efficient way to redistribute resources is not the way that leads to the most happiness. (The technical term is "diminishing marginal utility of money".) We need to give free stuff to those who are statistically less likely to win it in competition. If our machine learning algorithms disagree, that just means they're optimizing for the wrong criteria.