It seems to me that from the university's standpoint, a company is considered a plus instead of corruption, i.e. have "real-world" impact, and perhaps the university will have a stake in the company as well (not sure about this). If so, it is a win-win situation for both the university management and the professor, only the student lose, and who cares about that little grad student?