Ofcom had earlier launched an investigation over reports Grok was allowing users to manipulate images of women and children.