What product does Google provide for altruistic purposes? Just because they haven’t figured out how to monetize something doesn’t mean it was made for altruistic purposes.
Maybe Project Zero. But it does provide security benefits to the whole world, including Google. It also provides good PR, but that generally be the case for any altruistic product.