The reason for this is as follows: A good number of software engineers make a fuckton of money, but not all of them (it's bimodal/trimodal/whatever). SWEs are also one of the highest paid people within tech companies, often earning more than the MBAs, the CPAs, and the JDs (who tend to come with massive chips on account of actually having actual credentials, and tech companies being prestigious destinations within these profession).
It seems that over time, this phenomenon has caused the emergence of a large coterie of people whom I would kindly describe as being "bearish" of these high-end software engineering salaries and double-down on any narrative that undermines the livelihood of the software engineer, basically just to make themselves feel better.
tl;dr people desperately want AI to succeed because they're envious of software engineers