Elon Musk's X came under widespread criticism last month after its Grok AI tool was used to create and distribute sexualized images of real people in underwear or bathing suits.