My family works its own garden. We have a modest plot, which we push into production very comfortably, for about 8 months a year. This plot, which was once a 'pleasure-garden' around our house, replaces a family of 4's vegetable-nutrient needs at the grocery for about 6 months a year. Its a lot of work, mostly for my wife, but if I "didn't have to work elsewhere", the two of us could definitely have a much bigger yield.
The point I'm trying to make is that in fact, gardening for ones own vegetables simply has to get fashionable again. Even if you are a city-dweller, yes: garden culture has to push towards sustainable, edibles, as quickly as possible.
Which means, I predict the work is going to get easier, not harder. The false-economy of buying an Apple for 10c, which was trucked from a few thousand km's away, is really the end of it; our Pear tree gets us supplied good and plenty, and it costs nothing but a bit of rope to keep it propped up in the winds .. oh, sure, I did have to build a flame-thrower to keep the wasps away, but: that was fun!
The short-term financial gain goes to Amazon (and to a smaller degree the pickers), but the long-term costs of an unhealthy job are paid for by the healthcare system. Therefore there is an incentive to create those jobs.
Also; I don't know much about the robots involved and what they would cost and how much prices are going to drop; seeing that humans are wasting quite a bit of space on the floor and have other issues, I'm not sure if it's cheaper? I'm sure Amazon calculates that often though , so I guess it is.
Occupied; I see that as a reason, but that's an issue anyway; we cannot keep doing it that for that reason (and they don't, but as you say). If the work can be done by machines, it will be done with machines.