The market share for electric vehicles nearly doubled year over year despite supply shortages and high prices, according to data released by Cox Automotive.