More electric and self-driving vehicles are hitting the road