The S&P’s gains have been driven by a few heavyweight technology giants