The reason for NetBSD rejecting any use of AI is the concern that a future legal case will rule that the output of LLMs trained on GPL code is itself subject to the GPL due to the viral clause in the licence.
Fortunately for the ROTW, there are hundreds of other countries, and the USA is working as hard and as fast as it can to become disunited and tear itself apart.
I think that some of the arguments in the Apple vs OpenAI case may lead to a ruling on whether copyright gets stripped or not by running something through an LLM.
If it is established that copyright is retained then someone else could follow up on the GPL aspects.
Generally, courts have levied fines for copyright infringement rather than forcing ooen sourcing of code. The times when code has been open sourced are usually settlements to avoid a fine.
I assume the reason was more generally non-permissive licensing and legal issues? Specifically seeing only copyleft as the problem sounds unreasonably sociopathic, so I assume you picked that out as just one prominent example. (That, or I should take care to steer clear of NetBSD.)
In context it seems they're concerned about clear ownership of the code. It's lumped in with rules about not submitting code that might not have clear licensing or ownership. Here's the specific part from NetBSD's Commit Guidelines:
Code generated by a large language model or similar technology, such as GitHub/Microsoft's Copilot, OpenAI's ChatGPT, or Facebook/Meta's Code Llama, is presumed to be tainted code, and must not be committed without prior written approval by core.