I meant the enforceability of such clause: to the extent of my limited understanding of law, you would need to at least appear to prove that: someone has breached the agreement by, for example, using your code to train AI. I am not sure how it is possible.