Copyright infringement doesn't require exact copies.
A program that always produces copies is the same as a copy. A program that merely can produce copies categorically is not.
The Library of Babel[1] can produce copyrighted works, and for that matter so can any random number generator, but in almost every normal circumstance will not. The same is true for LLMs and diffusion models. While there are some circumstance that you can produce copies of a work, in natural use that's only for things that will come up thousands of times in its training set -- by and large, famous works in the public domain, or cultural touch-stones so iconic that they're essentially genericized (one main copyrighted example are the officially released promo materials for movies).
Again: Imagine two AI machines, different in one way: One of them has been fed "Article X" and the other hasn't.
You press buttons on the machine(s) in the same way.
The machine that was fed "Article X" spits out something that looks like Article X, and the one that wasn't, doesn't.
The magic inside, I don't think will much matter.
Courts can call experts to testify on matters requiring specialized knowledge or expertise.
- You put thing into the machine
- You press buttons, it makes obvious derivative work
- You don't put thing into the machine, and it can't do that anymore.
There is "something" in there GENERATING COPIES and we see exactly where it came from, even if we can't identify it in the code or whatever.