Warnings about xAI’s safety and reliability preceded the Pentagon’s decision to approve Grok for use in classified settings.