You are overlooking “reverse compensation” which has become a thing in recent years. The money is now flowing from affiliates to networks, the opposite of years ago.
But the basis for it is retransmission fees. The stations were getting this windfall of money, and most of their content was coming from the network.
If it's so unfair and so burdensome, why aren't more stations going independent?