When the pandemic upended Airbnb’s business, it made an expensive bet that protecting trust would matter more than preserving near-term margins.