Well, that's what the person you replied to was saying. Essentially the "AI" is only reading the book, it's not copying the book.
I could rewrite the entire Lord of the rings series in my own words and it wouldn't be copyright infringement. I could sit there with the movies on repeat and the books all open for reference, I don't owe the rights holder anything in that case, as long as I'm but reproducing their work.