Tehran and Beijing explore diplomatic paths amid escalating tensions between Iran and the United States.