The investigation follows a public backlash over sexualized deepfake images created by X’s Grok AI service.