The law has always been able to recognize a distinction between Hunter S. Thompson reading Ernest Hemingway and learning from his style and a billion GPUs reading a billion books to be able to produce it on demand. It takes time for the law to catch up to the technology but it will.
It's not a hard problem to solve, you scale the punishment for the cases you prosecute so high that it makes the expected value of stealing a suitcase negative