I think both lines of thought are correct and aren't mutually exclusive. Systemically, we have a fundamental underlying issue where profit motive isn't always aligned with the rest of society and there in lies what we see now.
I also think greed, or perhaps better described as flaunted greedy behavior, has increased over the past several decades. While capitalism has of course always been greed driven, different periods of time and different cultures have set guardrails up as to what level of greedy behavior is and isn't acceptable.
In the US the culture during the prime time of the industrial revolution, capitalism had technology progress propping its greedy appetite up. Those gains have been largely consumed and greed shifted over more and more towards optimizing on labor. We live in an environment now where we no longer assume your employer has your interests at heart and everyone listens to HR and leadership propoganda selling pictures of families and care for their employees while everyone rolls their eyes. We assume our employer will try the pay the least for us and get us to do the most for the least. We assume that they'll replace us the second they have a quantifiable cheaper alternative. Many decades ago these practices weren't as accepted, they certainly occurred, but they came with bad image and cultural rejection that harmed businesses. That isn't the case anymore. Businesses can basically do whatever isn't explicitly restricted by law or more profitable than penalties law sets and its just the accepted state of affairs. After all, it's legal, what are you going to do? Meanwhile through aggressive lobbying businesses are basically writing the law as they see fit.