If that's the main concern, wouldn't banning them from code sharing sites be harmful? If a person can create a project using AI and share it, then people can use their code without having to reinvent it. If it can't be shared, then anybody who wants that functionality will recreate it from scratch, and if they use AI to do so then you have now burned ~2x the compute=electricity=impact.