Working from home went from a rare to a common practice, and restaurant and retail industries lacking willing employees as health concerns grew.