As Alibaba prepares for IPO, tech stocks retreat