The emergence of electric vehicles (EVs) has been a story of both rapid growth and stubborn obstacles.