Also, a lot of those jobs disappeared forever in the third world and never came back. Ag jobs were never really replaced with manufacturing job. Only now are some third world countries getting manufacturing jobs. If they are replaced with automated manufacturing those coding, engineering, and management jobs will go to the first world.
So maybe it works out for America and Europe. But someplace like Indonesia and India get permafucked yet again by a new industrial revolution.
This is a serious problem, because the more physical wealth can be provided by robots, the more those status games necessarily become about obtaining power over other humans. This puts capitalism, as an enabler of this kind of status games, on a path to escalating conflict not just with democracy but with human rights.
Of course, many would say that this is already happening. For now, the conflict is simply at a level where human rights violations and everything that goes with it can still be exported to third world countries.
The automation that is happening now has never happened in the history of the human race. You simply cannot extrapolate from past events and say it'll be like that again.
For example, you will find countless people to help dig various archeological site, help processing the various museum collection still hidden in boxed, ...
Also "historically" is misleading. Historically the industrial revolution was one of the worst period to live - the conversion of those 90% to the industry was not a happy story. And the post-war golden age was after the worst wars ever.
We are also dealing with some hard limit this time. On the production side, we are hitting earth physical limit on about everything. Even on the consumer side, we are hitting some limit, even for virtual activities, there are only 24 hour a day for you to consume.
History is good to remind you to be optimistic. However, history is not a solution: some guy in 100 year may look back at this period as another great time in human history, but that's down to us find the details on how to achieve it.
Of course, it does it gradually. So you see low-skilled jobs disappearing, and no useful jobs being created in their place. As this process continues, I expect we'll be facing a growing number of people trapped in poverty who have no means and abilities to retrain themselves for jobs with more skill requirements.