Not to worry, xAI would do it even if Google didn't.
Also, Anthropic didn't actually refuse to work on all military stuff. They have some conditions, which isn't the same thing.
Anthropic has conditions, the Pentagon has billions of carrots and millions of sticks.
Anthropic has conditions, the Pentagon has billions of carrots and millions of sticks.