Not sure about the statistics, but an anecdote for me: I had a specific programming issue at work I need to solve, and I tried googling for answers in Stack Overflow. There are some answers but ultimately none of what I found can actually solve my issue. Then I ask ChatGPT to suggest a solution, and in about 5 seconds it gave me an answer. Not perfect, but with little editing it is solved.
Now I'm sure that ChatGPT probably scraped StackOverflow, perhaps using the very same answers I got from StackOverflow, but combined with other answers from other sources resulting in the instant answer. That does not necessary mean AI will replace StackOverflow, it just means that people wouldn't ask redundant questions in StackOverflow anymore, just questions that AI can't solve.
Now I'm sure that ChatGPT probably scraped StackOverflow, perhaps using the very same answers I got from StackOverflow, but combined with other answers from other sources resulting in the instant answer. That does not necessary mean AI will replace StackOverflow, it just means that people wouldn't ask redundant questions in StackOverflow anymore, just questions that AI can't solve.