I personally know many people that stayed / have stayed 9-10 years at Facebook, long after the IPO and long after vesting.
I think people really underestimate the value of sheer impact on end users. I know the news about FB hasn't been positive, but as an engineer a lot of people would jump at the opportunity to literally change the world every month.