This might be the biggest problem human race has to solve. How to encourage and reward good behavior for the greater good. Economists would say it's a problem on how to price in externalities. It doesn't matter.
I see it everywhere. In academia, most big PIs I've met don't care about pushing knowledge frontiers. It's about their own careers, putting their names on as many manuscripts as possible and securing funding to hire more and more people.
In my neighbourhood teens are systematically breaching COVID restrictions with huge illegal parties, spreading disease and therefore causing fatalities. Since the odds of having severe COVID are low for them, they don't care.
The local power plant was scamming with their emissions in a VW-like way, by tampering CO2 meters in their chimneys.
I could go on and on.
How can we address these behaviors? Pg has said somewhere I can't find now that scaling big companies is still an unsolved problem, and that solutions are welcome. I think it's the same class of issue. Once you are big enough to require a layer of middle management, you won't be able to filter out the selfish ones.