The issue of whether the AI-generated images are copyright infringement is entirely separate from whether the AI is capable of independently creating derived works.
See for example https://en.wikipedia.org/wiki/VMG_Salsoul_v._Ciccone which decided that it's allowed to sample certain instruments etc. in music production. Could AI be compared to such sampling? Perhaps.
Though, what actually decides isn't really the merits of one's case, but rather who has the money to fight in court. And we all know who'd win in AI companies vs cartoonists, unfortunately.