When will gasoline cars become obsolete?

Lets rephrase this idea of obsolete. There was a point in time when if you wanted to know what time it was you had to purchase an expensive and elaborate mechanical watch which used a spring which stored energy to power the watch. Then some innovations come around and quartz powered watches keep better time at very cheap