Why aren’t all corporations organized and operated as S corporations in order to avoid the double taxation at the corporate level and shareholder level?

There are a number of limitations on the number and types of shareholders that can own stock in an S corporation. Most large companies do not qualify to be treated as S corporations but many small companies do qualify.