Not a new problem.
Every time you improve the efficiency of production, you cut the amount of human labor needed.
Think factory vs a bunch of artisan shops. Or a big agriculure machine vs hundreds of small farmers.
So far, every time we reduced the human labor in one sector, we invented another sector which required a new set of human work.
Or did you think you could have iPhones using the middle ages efficiencies?
Let's just hope we can keep up with the trend.