China has reported a strong export run in 2025 with a record surplus of nearly $1.8 trillion, despite trade friction with the US and geopolitical tensions.