Despite its growing influence in the Middle East, China has largely remained on the sidelines of the Iran war, prioritising economic ties over security leadership.