The flip side is that if companies are making less profit, there might be more consumer surplus, leading to more savings (which can also be reinvested in the economy) or a higher standard of living.
But there's the obviously counterexamples of companies hoarding billions and not paying dividends because they don't know what to do with it.