But since users interact privately with the model, these models may drastically reduce the amount of publicly available human-generated data and knowledge resources.
People that notno longer use Stack Overflow and use Gen AI instead can only do that because their problems are duplicates, that we already answered zillion times on Stack Overflow and across the Internet.
Plenty of Stack Overflow traffic consists of useless duplicates, that don't contribute to the knowledge base. Removing those will not reduce existing knowledge.
The only problem it may pose to LLM is that duplicate data can increase statistical significance for certain solutions, so Gen AI could be less reliable in the future if the only metrics it uses for training is vast number of duplicate solutions to the same problem.
But, that is potentially a problem for Gen AI (not unsolvable one), and is not a problem for Stack Overflow or other sites in the network. Yes, it may reduce some of the traffic, but plenty of that was "bad" traffic anyway.
Gen AI is not suitable for solving programming problems, regardless of what people think and given enough time, more and more people will realize this - they just need to get burned by the AI few times before that.