I think there are some trees who are very efficient in creating calories - so maybe with more genetic engineering.
But yeah mostly you’d have smaller fields like potato or wheat or corn between hedgerows, and food forest or orchards for fruits and most of all for a nicer view. The main idea would be that you don’t need to transport food except from the surrounding area to the apartment tower. You’d produce / recycle food, water and energy locally.
Well for me Solarpunk is about what would be possible - except for our current global regime preventing it. So yeah it’s fantasy.
I don’t know if the costs work out low enough, but you could build such a lone apartment tower on farmland right now. If you had like a government owned “eco bank” funding this. If the land and construction costs can be kept low enough. It would be really cheap with some advances in premanufactured parts or 3D printing or house building robots. Kite power for very cheap wind energy.
If you could buy in for 50k and get all your living costs, food, energy, water and internet basically for free for the next 20 years, plenty of people would jump at this. And if it’s big enough (500 units?) you could justify having a doctor and a kindergarden and hybrid local / remote school. If we were serious about climate change, everyone could live in luxury with a killer view.