The Japanese automotive giant has set a new global sales record despite tariff uncertainty and growing competition from Chinese brands.