I think the risk of enormous segments of the population ending up on the street is overblown.
Right now there are mass layoffs in the IT industry partially as a correction to the pandemic hiring spree, and also to redirect capital from salaries to AI initiatives.
It is fashionable right now for tech CEOs to pretend that enormous amounts of work being done by humans is now being done by AI, but none of these are companies where the velocity at which code was written was ever the main bottleneck in getting products out the door. They’re mostly just lying to the market to pump their stock prices.
The software field is overexposed because there are a lot of people earning hundreds of thousands of dollars a year to add fields to CRUD apps. These folks are in enormous danger, but when the dust settles the skilled professionals solving difficult problems will do just fine.
There is a middle ground between people adding one more damn field to an already existing built app and the people inventing new math to solve DSP or whatever. How much danger are the skilled professionals who know how to architect complicated workflows so that they can guarantee correctness and be easy to change? Not easy, not the most difficult thing either. Also the sort of skill where maybe the lack of it doesn't become apparent in the product until it's too late.
I guess I kinda resent your implication that the "skilled professionals", the worthy, you know, us, will be fine. I think the real danger is for the people who care. And for the rest of us who rely on the people who care.