General Motors Co confirmed it will make its first all-electric vehicle, a version of the Chevrolet Spark minicar that will debut in 2013 and take aim at Nissan Motor Co Ltd's Leaf.