The social media network’s Grok AI chatbot sparked outrage earlier this year for generating images of women and girls in minimal attire without their consent.