Nissan was an electric vehicle pioneer when it introduced the Leaf in 2011, the first mass-produced EV sold in North America.