Such as?
The only places with famine are the ones that are not wealthy/developed. Of course, it's not in absolute terms but rather relative terms since it's about who can bid the highest for the resources that are on the open market. The current population trajectory is that were already slated to peak in the next 50 years. The first real question is how fast can we decrease without major issues. The second is what is the sustainable population level that the earth can support with the modern high consumption lifestyle.
But nobody really talks about this. In fact, we hear more from people like Musk about the population decline issue. That's rather local thinking. It's more of a population distribution issue than a deportation issue.
I do suspect AI can provide a future Alexander with a tool to solve such a Gordian knot. ML controlling chaotic systems such as double or triple pendulums demonstrates how intrinsically unstable systems can be managed. Imagine the power and ability of 8 billion coordinated people.