This is not okay.
What’s not okay is this comparison. Those elephants are most likely trained to do this behavior by physical force and extreme food deprivation. When is the last time in modern years (since more has been found out about the intelligence of cetaceans) that you’ve seen either of those things done to train orcas? Oh, never? That’s because it doesn’t happen. If these elephants are performing for any company I’m familiar with, they are abused on a daily basis. Orcas are not.
But we’re using all of these animals for OUR entertainment. In both instances they don’t necessarily have a choice. They were plucked from their habitats, their homes, and forced to do this. Yes, the orcas are treated better than the elephants but that doesn’t mean that its right.