New Zealand's trade deficit with China widened in the 12 months through September amid a surge in imports of electric vehicles and mobile phones.