How much military protection do they have in China or Mexico?
Sounds like you are saying “they didn’t build that”.
As for China, it's called "the American Navy," and it ain't cheap.
As for Mexico, there is none, but the lack of border inspections, particularly for pests in food and landscape products, functions as a subsidy, and it is substantial.