I somewhat agree, I think you're being a bit optimistic on the timeline though. Everything comes together to create somewhat of a perfect storm. For example I'm buying property in the Midwest on the Great Lakes because quite frankly Vegas and Phoenix will not be livable when the Colorado river drys up and Miami, Vancouver, Manila etc will all be under water because in 2017 the most powerful person in the world doesn't "believe" in global warming and wants to gut the EPA, these things are all interconnected and are creating somewhat of a titanic effect, where I very much doubt that as a society we will either A. see the iceberg... or for those of us that do B. will be able to stop the momentum and turn fast enough.
Silicone Valley has an absolute fetish for crushing the working class
https://www.inc.com/emily-canal/waymo-driverless-car-rides-for-families.html
However even beyond that we will not need paralegals, accountants or pharmacists, this is not happening in 30 to 50 years, it is happening now. Most jobs that we currently do are literally being made redundant by code.
The pilotless airliners will not crash, they will work perfectly, they will never show up to work tired, drunk, late, they will never slow roll a taxi to overblock or show up bent on committing suicide, they will never miss a "checklist" item and the public will accept them.
Driving and so many other jobs are gone in <7 years, it is not a long term thing, it's a 2022 thing.
I am saddened to say that I believe in 20 or so years our way of life is over. I'm not even going to have kids because I don't think anyone should have to face what humanity in the first world is going to have to face as far as a complete loss of quality of life or upward mobility in the next few decades.
In summary humans, while very smart individually, will become victims of our collective stupidity and technology as well as willful ignorance about things like climate change will be the end of any equitable or workable society.