What if oil is not a fossil fuel? There is a hypothesis that hydrocarbons are produced inside a planet's mantle.
https://postcanadian.com/ambiogenic-petroleum-fossil-fuels-science/
There is a little known scientific hypothesis that challenges our conventional wisdom about oil and gas. The abiogenic petroleum origin hypothesis proposes that petroleum was formed from deep carbon deposits, rather than from the decomposition of organic matter. ...
... If the abiogenic petroleum origin hypothesis were true, it would imply that petroleum resources like oil are not finite or derived from ancient biological matter, but instead are continuously generated through geochemical processes deep within the Earth's mantle and crust. This would have several implications for the abundance of oil and natural gas on Earth. ...
Article lists names of a few geologists and professors who have been bandying the hypothesis about. It notes that that "peak oil theory" has been used to drive up prices and I would add, of course, that it is another driver (a non-environmentally-linked one) for Net Zero nonsense.
Mind you, even if the earth could produce petroleum indefinitely, we may still be limited in our use of it somewhat depending on how fast petroleum percolates up through the rock into the voids from which we draw it out; we may be drawing it up faster than it can re-form even if this theory is true.
It might be worthwhile to revisite the oldest (and presumaby empty) oil wells and see if they are re-filling at all--these date from the mid-1800s https://en.wikipedia.org/wiki/First_Oil_Well
At any rate, it's interesting and worth exploring as it adds another bit of intrigue to the whole de-carbonization movement.
I can't believe that people fell for the FOSSIL fuel BS. If it was made from dead dinosaurs, it would've ran out a hundred years ago.