This is nothing new. Automation has been replacing human workers since the beginning of the industrial revolution. The word "sabotage" comes from when the original Luddites would throw a shoe into the machinery, because they were angry about the loss of jobs. This was 200 years ago. In the 1960's we were told that automation would allow people to work 15 hours a week and the rest would be leisure time. Instead the benefits all went to the owners, never to the workers, who have lost real wages steadily.
We are rapidly approaching a time when most production will be done by machines, with the participation of a tiny fraction of the workforce, and everyone else will be relegated to low-wage service jobs. It is a weakness of capitalism that all the benefits of technology go to the owners of capital, never to the workers. The economy is booming and stock prices soaring and profits are high, and ordinary workers are working longer and longer hours for less and less pay. There comes a point when the workers can no longer afford to buy the goods the machines are producing and the economy collapses, or devolves into political chaos and the rise of demagogues who get elected with empty promises of being able to fix everything.
The near-term future is a continued rise in the wealth of the owners and a continued fall in the standard of living of the workers.