Chinese involvement has drawn US warnings about Peru potentially being used by Chinese military ships as a foothold in the Americas.