The Pentagon ordered 30 universities to audit foreign ties or risk losing federal funding, targeting entities linked to China, Russia and Iran.