Generally, the way it works is like this, a new technology comes around and every one in that generation that had that career is out of a job in that industry.
So a whole generation loses a job. Most of them don't get new jobs.
Their kids learn new vocations.
https://en.wikipedia.org/wiki/Power-loom_riots
Happened in the textile industry. In New England, Portuguese immigrants lost their jobs building cloths to more efficient machines and outsourcing, their kids became lawyers and doctors.
This will most likely happen in today's computerized automation wave.
One generation gets screwed but their children adapt to new opportunities.