It's just the code that's not under copyright, so if someone leaked it you could legally copy and distribute any parts which are AI generated but it wouldn't invalidate copyright on the official binaries.
If all the code were AI generated (or enough of it to be able to fill in the blanks), you might be able to make a case that it's legal to build and distribute binaries, but why would you bother distributing that slop?











That lady is wearing an empire waist top which flares out around the hips so it's going to be pretty hard to tell whether she has belly fat, a baby bump, or a six-pack underneath. I don't know why someone would feel confident enough to congratulate her on pregnancy when they can't even see her belly.