UN Chief Antonio Guterres has warned of devastating consequences from any military escalation in the Gulf region.