We will never run out of oil. Never.
What might happen is as we run low on it, its price will go up, forcing both conservation on the demand side and new exploration & extraction efforts on the supply side. Plus alternative energy efforts. Flexible prices are a signaling system. That’s the beauty of free markets and the profit system–they encourage voluntary actions that efficiently allocate resources.