Investors dropped shares of Amazon and Apple in the past week, but flocked toward two other tech stocks.