Investments in Mexico pay off for Japanese carmakers