A moral of the story is that people will optimize for what's being measured, not what is intended. Machine learning does this even more so, with hilarious results.
This continues in the working world as well, unfortunately. Many employees will optimize behaviors and attention to what’s most likely to get them a bonus or promotion regardless of how damaging it is to other people, users, or the company long term.
I think good companies (which are incredibly rare) will figure out how to make the behaviors that get people bonuses and/or promoted coincide with the ones that are good for the company long-term. Sadly, it doesn't seem to happen that way too frequently.