There has already been a ruling in the US that AI-generated art cannot be copyrighted because it lacks human authorship, so it stands to reason that the same is true for code. Even copyleft is ultimately dependent on copyright to be legally enforceable.
And even if all of the rest of the world were to decide otherwise about whether AI-generated works can be copyrighted (which I very much doubt would happen), given how much software development happens in the US, it would still make the license pretty toothless.