By that logic they would have to ban all public domain code.
It’s also not always true. Unmodified AI output can’t be copyrighted, but if AI was only used as a tool and there is still significant human input, e.g. because the AI output needed some manual editing afterwards, it is copyrighted.
Also, AI code can’t be copyrighted. If the code can’t be copyrighted, then open source licenses can’t be enforced on it.
By that logic they would have to ban all public domain code.
It’s also not always true. Unmodified AI output can’t be copyrighted, but if AI was only used as a tool and there is still significant human input, e.g. because the AI output needed some manual editing afterwards, it is copyrighted.