China has warned Argentina against cutting ties, following reports that the South American nation is considering switching diplomatic recognition from Beijing to Taipei.