Don't a number of open source licenses notably involve restrictions?
Where and when? In cases where LLM coding assistants reproduce copyleft code in someone's work assignment? The responsibility in those would be on the user, not on AI.
I’m not sure whether this is implemented or not since I don’t use generative AI for coding.
Just like many cultural rules, they keep growing in complexity until they reach a phase change where they become ignored because they have become too complicated.