Running a service costs money.
That money has to come from somewhere.
Google makes that money by spying on people and using that for ads.
Apple makes that money by selling hardware.
You're saying that both companies should be required to provide the services they render, but apple's model of paying for it by selling hardware should be banned.
Also, go talk to someone who has bought a new car, and ask them how much their servicing costs. If they go to their manufacturer's service centers the regular services are free for the first few years, but if they go to an unrelated mechanic it costs money.