i think the copyright question is still unanswered: it could turn out that any LLM-generated code is a copyright violation by definition unless trained exclusively on a clean, legitimately-obtained dataset (which few of the major models are).
I think this argument is BS, there are several remix/sample based albums that count as derived works and AFAIK, no one is getting paid.