China has made diplomatic inroads in Latin America where trade concerns have led countries to end relations with Taiwan.