As automakers build more electric vehicles, a lack of charging infrastructure continues to be a barrier for some shoppers.