Companies are rethinking what kinds of work are best done in an office, the popular business author says.