Rapid adoption of robots and artificial intelligence during the pandemic combined with a rebound in government investment is making some economists optimistic about a return of a 1990s economy with widespread benefits.