Investors are growing increasingly worried that the bull market in stocks, which has delivered massive gains over the past two years, might be running out of steam.