There is an interesting book called Maverick by Ricardo Selemar I think is his name, who took over Brazil's largest steel company in the 80's. One of the points he makes in the book is that we have this obsession with growing business, if the company does $200 million in revenue this year, it has to do $250 million in revenue next year, etc.
That kind of thing, I think this is a big part of the problem is this mindset of competition and continuous growth for no other sake than growing. Part of this is a healthy desire to improve and for a while a company can make legitimate improvements for a while, years, decades, if you keep forcing people to improve a metric, revenue or share price in this case, there comes a point where there can be no more legitimate improvement, then people start to play to the numbers and as pressure increases start to turn towards means that are unethical and illegal. We can see this in every facet of life, cheating in sports because we are reaching the peak of human capabilities, banks and "financial engineers" that spend all of their time trying to invent instruments and methods for funneling money from one group of people to another, or a more concrete example software engineers that start producing shoddy code because they have to meet a deadline.
I don't blame the investor's for this and I don't think the problem is capitalism itself either, I think we'd have a different but no less destructive set of problems if we had the government running or intervening, e.g. New lifesaving drugs take 10 years a $1,000,000,000.00 to get to market because of FDA regulations that primarily benefit incumbents. I don't know a way to fix this or solve this without changing the way people decide and prioritize things, because at the end of the day what we like to call "systems" usually just end up being a reflection of an aggregate of human desires, and bad people will ruin any system, good people can make any system work.
To tie it all back, if I were to do it the only way I could see not becoming the villain is to content yourself with not being the absolute best and not comparing, or in other words, "Thou shalt not covet." either as a CEO deciding the fate of a company or as an individual in your life. If someone has a better option I'd love to hear it, but right now it seems that the incessant desire to have more and be bigger in every material thing is at the root of the problem.