Copyright was created as a response to the printing press being able to copy and distribute. However, with the advent of AI, this may no longer be effective. But to use existing copyright laws to control the output of an AI is wrong. May be new laws are needed. Until then, i dont think copyright infringement apply to the output of an AI if the output would not already infringe copyright had it been done by a human.