To have Chinese engineers in China, Brazilian in Brazil and Mexicans in Mexico is NOT diversity. That is the contrary of diversity. That is to have homogeneous teams.
I have worked for companies in Stockholm that have people from India, Canada, Australia, Sweden, Spain, Ukraine, Poland, ... working together in the same office. That is diversity. All of them were had the same range of salaries and expectations. Of course, it was not fairytale perfect. But it was quite good.
Externalizing costs to a low-cost country has nothing to do with diversity, as I understand it.