The business built an empire of coworking spaces but has faced challenges as more people began working from home.