Despite close ties with Caracas, Beijing is wary of getting dragged into a distant conflict.