It's a fraction of what it would have cost us to make the oil itself, like not even close
I mean doesn’t this apply to solar too? How much would it have cost us to produce the Sun itself?
This specific point sure, the rest not really. Peetrol is like 50x more energy dense than common batteries for example. Peak sun doesn't coincide with peak demand at all, it's a pain in the ass to store long term, it's unreliable when you need it the most, it's not as easy to transform into fertilizers/plastics/medicine