Whether if using ML models as a form of IP laundering, is legal or not, still seems to be an open question. It's not ridiculous at all. If I lossy-compress Harry Potter, then unzip it in a way that mixes some words, is that fair use? Should I be financially rewarded for my "work"? Is this work now mine? If it is legal, why not just go through every book in this kind of automated fashion and start selling them as my own?
What is transformative enough to be legal is fuzzy. At the end of the day, it only matters how the courts rule. I do know that the amount of actual mechanical change has less bearing on determining if the work was transformative. There are cases where you can copy 90% of a code base verbatim legally, and there are cases where no code is copied verbatim and it is a copyright violation. What you are describing most likely would not fly in court.
My question is still the same. Human devs have learned from open-source projects, books and code on the internet then used opensource frameworks to create proprietary software logic.
Now just because same devs use AI to create code doesn't mean they should be banned from creating or owning a proprietary software.