For wheat and maize it can't and it doesn't have to. Both are stable after picking and can be transported. Lettuce cannot be transported as well after being picked. Maybe shipping containers with live lettuce?
Re lettuce, I think what we will see is 2 things: firstly highly capitalised vertical farms close to where the lettuce will be consumed. Secondly, smallscale contract farming again close to point of consumption. Imagine a small greenhouse in your back garden. You pay for the infrastructure and have Uber like aggregator linking you directly to buyers. Oh god - I can see the pitch now: it's like Uber for Romain lettuce...