WeWork, the real estate startup that once fooled backers into believing it was a $47 billion tech venture, is downsizing. The co-working company plans to close 40 “underperforming locations,” according to its third quarter earnings report, published Thursday.