By this rationale, the transpiled output from a typescript program is in the public domain too. Same for compiled binaries.
AI codegen is a tool, driven by human prompts. The outputs are generations, albeit not deterministic. I expect the decision to be challenged by simple examples like these.