Not if you see the AI-generated code as same as 90's java bytecode compiled by a tool (machine). In both cases, the input (AI prompts or 90's java code) is human-written. Just because a machine is involved in converting human input to some next low-level artifact, the low-level artifact does not become open source, when the human input is not.