With the exceptions of energy, helium, and the insignificant amounts incorporated into space probes, the humans do not consume mineral resources; they concentrate them, dilute them, and move them around, but they do not consume them. For example, there is just as much neodymium on Earth as there was a million years ago, to a precision of several decimal places. The difference is that now much of it is separated from the other lanthanoids (a difficult and energy-intensive process) and concentrated in junkyards and landfills.
> Energy resources had almost finished
This is pretty hard to predict, but I think this is more a problem of knowledge and organization than of resources. The first commercial human solar energy plant was built in Egypt in 1912–3 in Maadi by Frank Shuman, the guy who invented that horrible safety glass with wires running through it. It didn't use photovoltaic cells; it used a low-pressure steam engine. (And he sold the results as irrigation water, not electricity as originally planned.) It couldn't compete with increasingly cheap oil, but at the time it would probably have operated at a profit if the Great War hadn't broken out the next year, resulting in the British Army expropriating it as "raw materials"; Shuman was quoted in the New York Times saying, "We have proved the commercial profit of sun power in the tropics and have more particularly proved that after our stores of oil and coal are exhausted the human race can receive unlimited power from the rays of the sun."
But certainly the humans managed to trap one another in a crab-bucket of material poverty for thousands of years before, and they could do it again.