The announcement came after the Grok AI chatbot gave controversial answers to user queries.