California has effectively outlawed the building of new fossil fuel plants. If the rest of the US follows suit, the big oil companies will have to move rapidly or risk running out of customers for their ageing infrastructure.
Why would the oil companies need to change anything?
No one uses oil to generate electricty in any great volume. Gas and coal companies might have some worries, but not oil companies.