I think they're taking issue with the unauthorized duplication of copyrighted code. That's distinct from learning how to code (which I don't think anyone would claim Copilot is doing) which people get from reading a book. If you were to read the book only to copy it verbatim and resell it, you're going to have a bad time.