Thry literally can't. Aside from the ideological 'capitalism functions by exploiting and destroying things outside other consideration, like your mom giving you money for your lemonade stand'
Making a planet habitable is hard. Just from the considerations we know; it sort of can't be done and the parts we think are theoretically possible would take centuries at minimum, even if we did figure out how'. Earth's all we got and pretending otherwise is a fucking delusion.
Capitalism has another century at most. Afyer that, earth won't support life anymore.
Which maybe isn't even a bad thing-imagine if there's other intelligent life out there snd a humanity that survives by incrwasing exploitation, by pillaging across every planet we find, always looting, like a swarm if great interstellar locusts rather than figuring its shit out came across that intelligent life.