Actually academia is not necessary dependent on Government. Universities can be private or privately funded and still do basic scientific research.
You can read an old piece on the issue from Murray Rothbard:
https://mises.org/library/science-technology-and-government-...