Selfishness has nothing to do with it. Capitalism rewards anti-social investment strategies and capital accumulation, so that's what we get. "Capital" is not a force of nature, it's an emergent force from our economic system. It behaves sort of predictably and can be described: that's economics.
EDIT: got to love how anytime you write something even remotely critical of capitalism you get auto-downvoted. Fine, "climate change is only because of bad, selfish people". Is this explanation more palatable?