Several newspapers have sued OpenAI and Microsoft, seeking to end the practice of using their stories to train artificial intelligence chatbots.