5 billion is a truck load of cash and any company with the least competitive capacity will be willing to spend up to 4.999.999.999 to avoid paying it.
it is relative, for normal people it is indeed a ton of cash, but you have to compare that to the size of FB. In that respect, $5B is not that much.