It wasn’t. It’s there because a small proportion being reproduced doesn’t harm the copyright holder in the same way a full reproduction does.
Nobody is going to stop buying Harry Potter books because they can get an LLM to spit out ~50 words from the book. This is entirely in line with the spirit of the law. This is exactly why proportionality is a factor in fair use.