You can't enforce those licenses against AI-generated parts, because enforcement relies on the recipient having no other way to avoid copyright infringement.
However, there's no issue with including non-copyrightable code in otherwise copyrighted projects. There's already plenty of non-copyrightable code like auto-generated boilerplate.
>no issue with including non-copyrightable code in otherwise copyrighted projects
That is not how copyright/trademark/contract laws work, and isomorphic plagiarism is not a long-term business model. People also loved Napster at first too. Good luck =3
https://www.youtube.com/watch?v=YhgYMH6n004