Google stock would plummet because people will sell to buy apple that is not following the same policy. So as soon as google does that, the stock dip will lower wages within and hire less.
It's not like Google or Apple pay dividends.
Google is currently handing out giant sacks with dollar signs on them to machine learning people far exceeding the meager means of most other companies, and the stock price is rising.
By your logic, shouldn't they be in the crapper for over-compensating these folks compared to what the market value?
Google is paying a lot for talent because of supply and demand - competitors are also paying high rates for the same talent.
(oops, I mean to make capital investments in the company and raise wages for average employees -- since a company in possession of a good fortune must be in want of workers to give raises to!)