Indonesia blocked access to Grok after an investigation into the artificial intelligence system’s generation of sexual content.