Facebook used their lucky cash cow money to eliminate the threat, by offering way more than any reasonable market value. Absolutely crazy money. An offer they couldn't resist, especially the investors.
No bet, just an ice cold rational calculation. Anyone wealthy and crazy enough could have done the same. No skills needed, no risks involved. It's like betting tomorrow will be another day.