FOSS licenses are becoming irrelevant. AI can rewrite any code base without using snippets at all. And it seems evident that no copyright can be claimed, because no human creativity was creating the new code. Just an idea and some prompting will probably not enough, legally spoken. So any AI-vibed clone should be public domain, and forget about the GPL.
It's not something I wished to come, but I fear we must face reality. Concerning your second point, fully agree. At least some credit for the original author is a minimum we could ask for from a human perspective.
And here we get to the funniest curveball: releasing to public domain you speak of is an Americanism, that may or may not have an equivalent in other legal systems. We're absolutely not ready as a society to deal with this problem.
As of now, all the AI-models and their impact on the world at large are opinionated and not neutral. The creators of such models determine the game we have to play now. And this is in the hand of a bunch of questionable US-American billionaires. So yes, I agree, we are getting to the core of this whole transition. But it still takes a while until all are awake and start thinking. If it's not too late anyhow.
It's not something I wished to come, but I fear we must face reality. Concerning your second point, fully agree. At least some credit for the original author is a minimum we could ask for from a human perspective.