Malaysia has restricted access to the AI chatbot Grok after concerns over the creation of sexualised images, involving women and minors.