China has used its UN speech to push back against the US position on Iran and its blockade on Cuba.