Earlier quoted context omitted.
AI doesn't get inspired. It's not human. It adds everything about it to its endless stream of levers to pull, and if you pull the right ones, it will just give you the source verbatim as proven by the NYT lawsuit filing where it was just outputting unaltered copywritten NYT article text.
If you pull the right levers, you can also copy the NYT article fully.
This extends to music as well, if someone hears a song and is inspired by that in their work, the original artist gets credit.