Companies are much better managed now than they were a few decades ago. Think about the fact that corporate raiders were able to buy large companies in the 80's, split them apart and sell their constituent lines of business for more than the companies were previously worth.
CEO pay has simply increased in line with the market capitalization of the largest public companies.