1. Google benefits from Android, but ios is apple. Google has other games.
2. Google doesn't make most androids. China would have to ban any company from making hardware designed to run android, not just ban Google from operating in the country, which would affect a bunch of non-google (even non-us) companies at least as much as it would affect Google itself.
That's a two way street. It's not that China has Apple over a barrel. There is a MAD aspect to the relationship. Apple is definitely trying to get out of China as a manufacturing dependency. They'd rather not be banned from the market, but they are preparing for that. Let's rip the band-aid off, I say.
Other android phones are also other companies, wouldn't exactly call that deep connection, but a connection nonetheless. Re pixel, that's a pretty small business relatively speaking.
If anything Google probably has more to gain as TikTok is eating an increasing part of the ads & entertainment pie, a business which is much more crucial to Google as of now.
"No thanks, we won't be doing that"