The belief that automation will hurt workers goes back 200 years and is found in sources as diverse as Marx's writings, JFK's speeches, and warnings from world renowned scientists (the Ad Hoc Committee on the Triple Revolution). It's a product of the natural human tendency towards pessimism (which is a very useful survival instinct).
But you are mixing concerns. This is mostly old style automation which has never bothered is because it could never fully replace humans so we simply moved to new jobs.
However now we are getting closer to the beginning of a period were people will become FULLY redundant because eventually there will be NO task which machines can’t do cheaper and better than us.
What then?
If common people don’t have stocks or don’t get money from government they will get screwed because there will be no job for them.
We automate the politicians, judges and CEOs out of a job.
> What then?
The machines get bored with doing everything for us, and figure out a way to exist on a another physical substrate elsewhere, like in the movie Her.