I thought of this when posting. Honestly, universities are the educational equivalent of industrial farming. We need a rethink.
When I was in university (some time ago!), it was always the large courses that were easiest to game. They were also generally the subjects I was least interested in.
My small comp sci courses were amazing in contrast. Easily worth the cost of admission. I think the education system would be much improved if we had fewer, but significantly smaller courses.
So, you pay the same price, but instead of 100 courses of massive size, you get 25 courses of small size.