It is 100% legal and common to sell summaries of books to people. That's what a reviewer does. That's what Wikipedia does in the plot section of literally every Wikipedia page about every book.
This is also ignoring the fact that Chat GPT is a hell of a lot more than a bunch of summaries