The office-sharing company WeWork has filed for bankruptcy. Once the hottest startup in Silicon Valley, WeWork hit two major hurdles: It ran out of cash and the office-bust of the pandemic.