Not that I thought AI would be writing decent code for a while yet, but the fact that AI-generated code can't be copyrighted (and therefore licensed[0]) is going to create problems.
It'll be interesting where they draw the line with this, though:
If the AI generates all the code, but then a human debugs it and alters it, is that copyright that can be owned? Does the entire code base then become copyrightable?
If a human reverse-engineers uncoyrightable AI code, does that reverse-engineered code become copyrightable?
If a human downloads someone else's uncopyrightable AI-generated code, and makes some changes to it, can they then claim copyright on that code?
[0] Since the whole of software licensing rests on copyright, this is going to get tricky for licenses. How do we determine if a restrictive license has been added to uncopyrightable (and therefore unlicensable) code?