Tech giant Amazon has driven more than a quarter of the S&P 500's gains in 2018.

But Amazon's gains have some investors worried about other sectors of the economy that are lagging behind.