That is the dark side of perks.
Another way to keep people stuck is to pay them too much, much more than they could ever earn elsewhere. They will then rationalize that they are doing it just for the money, which leads them to hate their job, even tho they will not leave (because of the money). Then you see worsening politicking, squabbling, dark humor about "at least it pays well" and general "acting out."
I saw both of these in action at my last real job, at a tech co. you've heard of. The wild parties, the liquor cabinet, the gourmet kitchen, the rooftop deck in TriBeCa, and more importantly, the excessively huge amounts of profit-sharing... it was like geek summer camp, until it turned into a teen drama because of the "poor little rich boys."
I knew I could never work at another place after that, because (in most ways) it was just so great. We were all spoiled rotten.