Media companies are spending big bucks on sports rights as ratings continue to climb and consumers open their wallets. That’s leaving less money for scripted series.