So this means you can not use AI for the majority of open source projects since GPL, MIT, BSD, etc are all copyright declarations and they'd be being made for code which you can not copyright.
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.