I meet a number of people at Apple in this category (i.e 20-30 years + experience). At a certain point salary tends to flatten out unless you go into management or do something incredibly specialized.
Trouble is, the current plateaus are still too low to even contemplate homeownership, unless you want to commit 2/3rds of your paycheck to housing costs.
Also, apples 401k match and internal stock discounts are amazing.
Not to mention that apple pays well and has good benefits, so they are not sacrificing anything by staying, quite the opposite.