Doesn't feel like the AI is the main driver. Many things changed over time - dev tools got better, editors got smarter, compilers got better error messages, various primary resources improved, tutorial websites, courses and youtube boomed. Another point of course is that each new question is more and more likely to be already answered. At some point the site pretty much covers most of what is to be answered.
Which is fine. If your question is not answered by `site:stackoverflow.com how to do the thing` but it is answered by an LLM taking `how do I do the thing?` as a prompt and synthezising existing Stack Overflow content, that is inherently not a suitable Stack Overflow question. Because anyone else could put `how do I do the thing?` into the same LLM. It's not any different from using a traditional search engine.
(And when the LLM fails by producing a wrong synthesis, then blessing that result by putting it on Stack Overflow is actively harmful - which is why it's banned by policy.)