Anthropic didn't violate U.S. copyright law when the AI company used millions of legally purchased books to train its chatbot, judge rules.