Electric vehicles sales surged to a record in the third quarter of 2017, due mainly to strong demand in China.