Apple stood for privacy in the US where privacy is part of law. It didn't stand by privacy in China where privacy in some forms is prohibited as part of law. Asserting the US law in China would discount China's sovereignty, implicitly declaring "your principles are inferior to ours". A global company needs to be sensitive to these political/cultural differences and accommodate them. Even in the US where "privacy" is…
"Ideologies" are not equally valid; morality is a real, very serious and important thing. Some ideologies promote oppression or even mass murder. And the value of liberty is not the same as the value of Christmas discounts.
Freedom to pursue your own ideology (as long as it doesn't hurt others) is widely considered a universal human right. Let's not pretend we can't see why, even if some want to disagree.