Of if, like Google, you are the one paying those salaries indexed to cost of living. Then your employees become rather expensive...
And that's US salaries (the website only offers a free preview.. yada yada).
I think Google generally thinks the cost of a talented enigineer is justified, and switching locations will of course represent a cost, but probably not such a big one in the great scheme of things.