A federal judge has approved a landmark $1.5 billion settlement from Anthropic to authors and publishers over the use of pirated books to train its AI chatbot Claude.