Why was Elon Musk’s AI chatbot Grok preoccupied with ‘white genocide'?

Like other chatbots, Grok is prone to falsehoods known as hallucinations.