Endowment funds are not a checking account, they are not just cash on hand for universities to spend as they please. They could certainly liquidate, but then each year their disbursement would get lower. There is no situation where they could continue operating as they do now.
See my other comment on the likelihood that any corporation would want to pay for basic science. When would any company choose to fund something that would not guarantee a return on investment? It goes against the nature of the goals of a corporation. I would love to know of for-profit examples of this. I'm sure there are a few, but I doubt there are many.
Also, most endowment funds are restricted by the donor. The whole point of making a donation to an endowment is to fund a specific thing in perpetuity. Legally, the university can't just take money that was given to them to fund one thing in perpetuity and use that money to fund a completely different thing as a one-time expense.
See my other comment on the likelihood that any corporation would want to pay for basic science. When would any company choose to fund something that would not guarantee a return on investment? It goes against the nature of the goals of a corporation. I would love to know of for-profit examples of this. I'm sure there are a few, but I doubt there are many.