This is a common misconception. A big flagship state university typically only gets 10-20% of its funds from direct government subsidies/appropriations meant to support education.
The rest comes from tuition and other income.
Even "federal" student loans have largely been privatized.