Apple and Amazon are both being hurt by higher memory prices.