It comes after its AI chatbot Grok was linked to the creation of sexually explicit deepfake images of real people.