They could stop operating in Saudi Arabia to show their support for gay rights. But again, there's money to be made. Much easier to just slam Trump or whoever.
Saudi Arabia isn't demanding they cripple their products, so selling their products in Saudi Arabia isn't ethically fraught. And Apple isn't spending their time slamming Trump. They're a tech company, not a politician.
These days, ANYONE with a platform, of ANY kind -- cable TV show, massive Twitter following, corporate officer of a Fortune 500, et. al., is a politician.
That's what cable TV wants you to think, sure. But even if that's true, all of those people and organizations you mentioned should be resisting getting sucked into political vortices whenever it is remotely possible to do so. It's a sad commentary on the state of the world today, not something to be embraced.