The PM said news the social media company was taking action on concerns Grok was producing sexualised images of women and children was welcome.