You're right in the sense that ritualised, repeated behaviour performed for no obvious gain is something very unusual. Most animals don't waste energy on things that don't have a material impact on their life.
I'd disagree with your point about intelligence though. It's simply that we have more resources than we need. Even the stupidest animals would develop rituals if they could afford to.