Automating fundamental activites like farming is a top priority if humanity ever wants to expand to other planets. A lot of things will have to be automated to function completely without human interaction.
one of the biggest reasons that so many people are involved in farming is that there are a huge number of operations which are extraordinarily difficult to scale. some things can only be picked by hand or only grow in specific soil conditions or are clever enough to escape enclosures routinely.
this is where automation comes in. autonomous tractors, robotic pickers, synthetic aperture radar satellite imagery, drone-applied fertilizer, AI-enabling video monitoring, etc.
We've got a lot of big issues to solve on this planet before we worry about traveling to any others.