Without that funding, research simply stops. While some universities have substantial endowments in the bank, that's nowhere near sufficient overall to fund US STEM research. The reserves would be spent down quickly, and then we wouldn't be able to do teaching, either. We'd just close down.
The irony is that federal grants have historically been a safer vehicle than corporate sponsorship of research, which is where the nasty strings are often attached.