Companies are laying off and furloughing employees, retraining staff, and doubling down on e-commerce.