Education is one of the things that if done well requires a high level of skill and dedication from those doing the education. Hence if done well commercially, it becomes too expensive for almost all people.
The solution is to have the state do it and to draw the teachers from qualified idealists and let them do it how they see fit. Sure, this has its own set of problems, but it is vastly better than the capitalist way of doing it, because that does not work at all. The authoritarian way (curricula specified in detail by the state) universally fails nicely as well.
Incidentally, this is that standard situation in Europe and it works reasonably well. It does require a large enough supply of smart, capable, idealistic and non-greedy people though, and that may be hard to come by in the US, especially the "non-greedy" part as US society is pathologically focused on money. With a candidate that ran his own scam of this type (Trump "University") having a realistic chance of becoming the next president, I do not think the future is bright for US academic education.