Companies sell shares in order to raise cash. At some point Google had to sell shares in order to receive liquidity from the public markets. The people who bought those shares are investors in Google. Buying a share from another investor still represents the same equity ownership from which the original share was purchased.