I did a lazy ask google, and it thinks less than 3% of crude oil is used for energy. The vast bulk of oil being used: 'transportation (gasoline, diesel, jet fuel), heavy machinery, and non-energy uses like asphalt and plastics rather than power plants'.
That is of course, one of the big problems of 'going green' - electricity production is low hanging fruit and understood by the general public.
When that's 'solved' (solar, wind, geo, nuclear), how do we solve the other 97%?
Oil really isn't going anywhere. It will be a slow tail, perhaps too slow to stop emissions.