Apple and Google should form a union. If a country wants to play with hard rules, then Apple and Google can collectively pull out of the country. Imagine a country left without iOS and Android in 2023. Let's see how fast their citizens overthrow their government.
You can bet that they already collude to maintain the status quo in their common interests.
Google loves its Apple and vice-versa. Apple if only for the cool ca. 10 billions / year for Google Search baked in iOS.