China and Brazil signed a memorandum of understanding this week to study the creation of a transcontinental railroad from Brazil’s Atlantic coast to Peru’s Pacific coast. Chinese state media heralded the plan as a strategic alternative to the Panama Canal and a step toward tightening Beijing’s grip on Latin American infrastructure.