Hey there!
The organisms on Earth do not run out of raw materials because: all raw materials are recycled by various processes in an ecosystem. Which in this, this would be the reason on why we would not run out of our materials, that stuff we always recycle, in all types of ways in our ecosystem.
Hope this helps you bro! :)