In the span of just a few weeks, orders for technology products have collapsed and companies have begun laying off workers.