The only solution is automation of most Ag operations, create many more decentralized food production/distribution hubs that is more sustainable. Food security necessarily means assured labour supply.
No one wants their kids to be farm labourers. As we educate more of the world population, why would they come to the field and do manual labour? We need Ag robots and automated platforms of all sizes for farms at different scales. Farm labour is implicitly exploitative.
The only solution is automation and reducing manual labour/labour costs for food crops.