AI may actually change everything but I suspect things are cyclical to at least some degree. The $400K jobs may dry up for most--and certainly having two or more those jobs at the same time will--especially for people without degrees or degrees from no-name colleges or boot camps. It may be reasonable to expect CS/programming jobs will become more like lots of other STEM degrees in terms of requirements and comp.
Which is certainly a lot different than the expectations that were set since post dot-com.
Obviously (? I think) there will be jobs but they may well be more in line with middle-class professional jobs than some cadre has been in the last 10-20 years.
You can look out to other economies to see how software plays out in a "normal" market, not a VC and mega-corp backed one. Salaries in those economies for software are like you are predicting, in line with other skilled professions.
Which is certainly a lot different than the expectations that were set since post dot-com.
Obviously (? I think) there will be jobs but they may well be more in line with middle-class professional jobs than some cadre has been in the last 10-20 years.