In an unprecedented wave of collaboration, leading AI firms are teaming up—sometimes with rivals—to serve a Pentagon and ...