A significant valuation gap has emerged between the top-performing megacap stocks and the rest of the market, creating potential opportunity.