Coworking space providers are riding on a maturing business model and going public. Amid their rapid scale-up, they are also trying to turn profitable.