It's the exact same training process for both of your examples. I don't really see how you can claim books are not replicated, but that output from other LLMs is.
Again - IANAL - but in my understanding (and I spend some time reading on this), the legal concept of fair use is all about the intent how copyrighted material is used. It's all copying or distribution, but law does make distinction about what and why.