Well I think that is the greater question.
Is AI just an algorithm. Is human creativity just an algorithm?
Who, if anyone should own the copyright if you prompt AI to write a book?
I'm thinking more from a moral and philosophical pov, the copyright regime is broken anyway