LPL Research analyzes changes in the sector compositions of the S&P 500 over the past four decades.