I worked at two different Starbucks a decade ago and have used the manual machines. They require a tiny bit of manual labor and attention but not really an special amount of skill and finesse. Anyone that can learn to make a scrambled egg can do it. I was in high school at the time.
Let's not romanticize this crap. Most of these jobs we are destroying aren't that special. And people will be forced to focus on learning more useful skills.
I think there needs to be a revolution on training people for work and careers. There are a lot of jobs in the US currently that cannot be filled, we don't have enough skilled workers. It seems like displaced workers should have the option of getting into some kind of fast-track training to enter these roles, at no cost to them and while keeping their family fed.
The countries that figure out how to do this fairly, effectively, and without crazy costs will be unstoppable.
Also I think moderate mental health issues are a massive economic problem that nobody seems to notice but I don't know how to fix that.