Huge numbers were left unemployed with industrial automation in the US and left unemployable. The technical term is structural unemployment. All it means is you cant retrain 10,000 factory workers to be front end developers, and that even If they find a job its often not as well paid.
The two greatest myths of modern capitalism are that free markets are good for everyone (they're not) and that automation doesnt lead to unemployment. Any reasonable assessment of the data will show both of these to be clearly false.