The point is that copyleft source code cannot be used to improve proprietary software. That limitation is enforced with copyright.
Proprietary software is closed source. You can't train your NN on it, because you can't read it in the first place.
If someone takes your open source code and incorporates it into their proprietary software, then they are effectively using your work for their private gain. The entire purpose of copyleft is to compel that person to "pay it forward", by publishing their code as copyleft. This is why Stallman is a proponent of copyright law. Without copyright, there is no copyleft.