The answer has always been the same: self-regulated profession and trade unions. Instead the ever efficient software engineers have efficiently dug their own grave. The regulated professions aren't going to be affected by the AI because their members understand that preservation of job security[0], their pay and QOL is more important than automating themselves out of existence.
[0] https://www.bma.org.uk/news-and-opinion/medical-degree-appre...
Yes, this is so true. But we never thought about that but instead thought about how smart and better and productive we are over other people in similar position.
Also you forgot the link?