X, the Elon Musk-owned social network previously known as Twitter, has added a new image generator to its Grok assistant.