Online classes are becoming more and more popular as enrollments grow to keep class sizes small (in addition to limited building space). There was a proposal a few years ago to limit the amount of non-traditional classes a student-athlete could take each semester, but it was shot down.
It's important to remember that it's not just student-athletes enrolled in these classes or majors. Universities are increasingly cranking out thousands of graduates each year who take advantage of this. This problem (if you view it as one) could easily be solved by the universities themselves cracking down on these types of classes, but that would ultimately hurt their bottom line. Hopefully, any negative press against these types of stories also get aimed at the schools themselves for allowing this in the first place.