As Washington tries to rebuild its strained relationships in Latin America, China is stepping in vigorously, offering countries across the region large amounts of money while they struggle with sharply slowing economies, a plunge in commodity prices and restricted access to credit.