After refusing to bow to the Pentagon’s demands, the company faces what could be the most extreme regulation in the short history of AI.