The bar to gain accreditation is so high that only large universities and (relatively) dishonest private corporations can get accredited. This puts an artificially high barrier to entry for competition.
If we made one simple change and accredited testing facilities instead of Universities the cost of education would plummet. What I mean by this is we as a society say...
"This is what a [Insert Major Here] should know. We don't care how you get the knowledge. At University, Online, Divine Intervention, whatever. Anything is acceptable as long as you can prove you have the knowledge at an accredited testing facility."
So the tests would be the same because they would be the tests students take at University now and testing facilities would have to prove they can administer those tests properly. But you could get the knowledge wherever you choose. So if you can pass the tests for a BS in Mathematics by watching Khan Academy videos that's fine.
I can't even imagine how fast the cost of an education would fall if that happened.