China condemned the killing of Iran’s supreme leader as oil and shipping risks surge ahead of Trump’s planned Beijing visit.