The problem is that you really only see two sorts of articles.
AI is going to replace developers in 5 years!
AI sucks because it makes mistakes!
I actually see a lot more of the latter response on social media to the point where I'm developing a visceral response to the phrase "AI slop".
Both stances are patently ridiculous though. AI cannot replace developers and it doesn't need to be perfect to be useful. It turns out that it is a remarkably useful tool if you understand its limitations and use it in a reasonable way.