xAI has filed a lawsuit against a man who used Grok to generate sexualized images of adults and children.