This will probably be an unpopular opinion but, all AI generated code is already effectively open source.
If person A can generate code that solves a problem merely by explaining the problem to a bot, then what is the point of licensing the code if person B can do the same to generate their own code?
If a zillion people can generate that code, then anyone trying to license the code dooms their project to irrelevance.
The unpopular part: if you imagine for a moment that LLMs can generate useful code and build useful projects, then that dramatically changes the software landscape as we know it. For example, there are software products millions of people are paying a subscription for, which are effectively just CRUD applications behind a nice brand. There's already some vibe coded bookkeeping / accounting products appearing - its a marketplace land grab.