China would ‘end up owning some of the costs’ if Russia invades Ukraine, national security adviser warns