Reddit sued the artificial intelligence startup Anthropic on Wednesday, accusing it of stealing data from the social media discussion website to train its AI models despite publicly assuring it wouldn’t.