For decades, research universities have relied on federal funding, with no guarantee that it will last. Now their survival may depend on compliance with the government.