@mathew
Yeah, although the problem for corporations is that you can't make AI-generated code closed source either.
The problem, once again, is the lack of copyright on AI-generated works. And yeah, I've heard a lot of wishful thinking along the lines that they will simply create a new category of intellectual property, but I don't see any moves like that on the horizon.
Instead, I see a mad rush to drive all software, both open source and closed source, into the zero-value category. I don't see that benefiting anyone except, perhaps, the AI frontier labs.
The trade secret option doesn't help corporations because it means their software needs to be kept locked away and can't be distributed.
The public domain aspect doesn't help open source because it removes all the restrictions that keep it open (attribution, derivative works, etc.).
From what I can see, no government has yet moved to create a new category of property to protect the "authorship" of people who have essentially not authored anything but merely prompted it into existence.
Prompting, no matter how specific or skilled, is MANAGEMENT, not authorship, and copyright offices around the world take that distinction very seriously. Management does not share in the authorship of a work, and intellectual property rights do not magically transfer to the person who asked for something to exist. Authorship remains with the non-human agent that wrote the work, and copyright cannot be held by non-human authors.