Beijing’s leaders are working with regional neighbors on the country’s western, northern and southern borders to develop new rail and sea links.