California, with one of the most important car markets in the world, has long led the way in pushing for less-polluting vehicles.