"Now, some people like to think that stuff like "technology always improves in time to save us" is some kind of natural law. I guess they are more into science as religion, than in science as science."
That is because IT IS a natural law.
If this law were not true, then there would be no humans on earth. It it scientific because there is evidence with real data to prove the hypothesis.
The fact is that humans are not only resource consumers but also resource creators.
It is you who misled science as science for "religion of the Doomsday". Science tells us that there is trillions of billions of stars, each carrying trillions of times more energy that we consume.