Investors have ridden tech stocks and the S&P 500 for years. But the time for large-caps might finally be coming to an end.