If you can't prove it, you can't prove it both ways.
Either everybody gets to use it or nobody does.
Especially that the code getting trained on is for the vast majority copyrighted open source software so if anybody has something to say, it's the opensource community rather than Apple