This kind of turbo confident naivety is quite common among software engineers.
I know people preaching about LLMs being the Next Industrial Revolution, who couldn’t place the industrial revolution in the correct century.
I have people at work talking about jobs and technologies getting replaced by AI who don’t understand how a lawn mower works, who don’t know who Lenin was or what a differential equation is, because they’ve simply been writing JavaScipt since high school.
The word you're looking for is hubris and it has been endemic amongst some groups of software engineers for 25 years.