Laws around AI right now are such that anything AI produces is not copyrightable.
Companies that push it out can be sued but the plaintiff won't be able to prevail without a way to pierce the non-copyright framework.
And since the company's that would be suing benefit from the framework, I suspect it will be a settlement to purchase the code and then remove it from repositories.