We already have better farming technology. People prefer to grow gardens in their back yard with compost made from their coffee grounds instead. Iirc, John Green calculated that - even excluding the cost of his own labor - one tomato that he grew in his garden cost him $18. There are certainly a lot of problems with modern agriculture. But food is far cheaper than it has been for pretty much all of human history, when the collection and preparation of food took up the vast majority of most people's time.