China and the US have called for calm after the most serious military escalation in years between the two nuclear-armed rivals.