Cook will tread a thin line between Washington and Beijing as the world's two largest economies vie for supremacy.