Capitalism is inherently flawed as it relies on infinite growth in a finite world, to put it simply.
Services, software, entertainment, education, information... while these aren't 100% free from material constraints, it's not like the economy is growing primarily by digging ever more rocks out of the ground. The majority of the value comes from abstractions.