Yes, but the AI that is metaphor is comparing to does not create more food. More to the point, it may not create more jobs.
After a few decades of turmoil the industrial and agricultural revolutions netted out far more jobs. The verdict is still out on AI, but I wouldn't bet on it.
> Yes, but the AI that is metaphor is comparing to does not create more food.
Mostly because food is incredibly cheap, so it's not the main focus of present-day economies. AI does however help provide many basic services that improve quality of life. The most natural and most cost-effective use of AI is arguably in helping answer simple questions, not really in cranking out tokens to somehow help write complex software. And other service work is perhaps in the middle of this range.
It also doesn't destroy food. Right now, we have enough food. After the AI revolution we have more food and more free labour and fundamentally more effective administrators to run a welfare system. I don't want my society to be the first one to try it, but if we can move the average administrator from an ordinary human to something that is a little better at math than Gauss with infinite clones to get into the details ... there is a chance that we can run an effective centrally planned welfare system.
It is really hard to see how the AI revolution would lead to any issues with food shortages. It looks more like previously unthinkable upside than anything else.