The Mexican government is deepening ties with Beijing in some of the sectors most sensitive to U.S. security concerns.