General Motors says it is aiming to sell a million electric cars and trucks annually by 2025 in the United States and China.