You're making some flawed assumptions. The prison wants the cash -- these are revenue contracts that generate a lot of money.
The video stuff nets money for the prison operator as and has other benefits. They pull the fiber to the prison in nowhere vile using erate funds for the "schools" in the prison.