Small, nimble startups are leading the shift to electric cars, while big manufacturers and oil companies are struggling to keep up.