The problem with making up your own license clause is that responsible companies now need to pay their lawyers to review it if they want to use your software. This is going to exclude a lot of users who don't want to pay for that review, rather than just the ones who'd use it for purposes you want to prohibit.
If someone is against CoPilot-style use of their code, would they want commercial organizations using it? It seems like such a hurdle would be quite attractive for many projects.
I understand that some may disagree that training AI with copyrighted data is fair use, but protecting?
If you are scared that many companies will steal open source code and not give anything back, well, it’s already the case. If you are scared to be replaced by an IA, forbidding the AI doesn’t seem te be the right approach. It’s too late and you should perhaps start to use it and improve it instead of fighting it.