Yeah fossil fuel extraction has a lot of engineering behind it (as well as transport, handling, processing, etc): there had been easily accessible deposits, but they've been depleted a long time ago, at least in europe. The issue with technological progress and scaling bringing down costs for renewables is that there is a similar effect for fossil fuels too. On the other hand, technologies originally developed for fossil fuel extraction can also be used for renewables deployments.