General Motors is still struggling to ramp up production of electric vehicles, a top executive said on Wednesday.