Stop sucking up to dictatorships. If they don't want to do business with you because your map or flags or search engine shows something they don't like - leave. Don't censor your search engine or modify your maps to fit their worldview.
This is a simplistic view. When push comes to shove, companies don't behave with political principles. Apple is not going to throw away access to 1/6 of world's population over a political dispute. It's unrealistic to expect any company to, if they're sufficiently large. The only way to achieve political goals is to apply political pressure directly at the state level, or to work with domestic movements that seek to undermine the policies in question.
Google did.
Yea they want to head back (now that they realize nobody cared), but they pulled out of China entirely back in 2011 over censorship.