You're viewing it from a myopic production-focused viewpoint. Whereas the problem is our consumption-led economic order and its reliant on adding an ever increasing number of consumers.
Compared to young people:
A) Machines do not consume goods and trinkets. Western economies are based on consumption, not production.
B) Machines do not pay taxes, making it harder and harder for the state to pay for the welfare of ageing populations.
C) Automation simply doesn't work for service-focused work. Otherwise there wouldn't be record number of job openings and labor shortages in the US right now.