The S&P 500 CAPE ratio hit 40 for only the second time in 155 years, raising concerns about valuations, future returns and a possible market correction.