The planet has enough resources to last for centuries, by which time alternatives will be discovered or extraterrestrial mining will become possible. Science does not stand still, but is an ever evolving venture that will have all the answers some day in the not too distant future.
There are already some alternatives today, but atm the cost is prohibitive.
Assuming there are tons of resources doesn't make it so.
There is an estimated another 1000 years of known coal reserves throughout the planet using it at the present rate of consumption. Also Uranium reserves which is a clean power source are also almost an infinite supply.
You said "resources", you're listing a couple that we have enough of as proof.
I do agree we have enough coal (although the environmental cost of using it all would be bad!) and uranium. That doesn't mean there are enough of all resources.