Microsoft was in a class by themselves in terms of how their ruthlessness played out. Harsh negotiation demands plus technical bullshit like this: https://en.wikipedia.org/wiki/AARD_code
I haven't heard stories like this about Facebook, but perhaps they're better at covering their tracks.