I had surprising lessons in a stupid job where I cut half of the effort through scripting. Albeit it wasn't the boss, but the colleagues. Everybody complained about how dull the tasks were. I offered the script to people nearby, which they refused. Ok. A month later I ended giving this up to a lot of people, suddenly the first one who refused jumped on me angry asking why I didn't give it to him/her too.
People are people indeed, which means people are not companies. The best interest of the person you work for might not (will almost never) be the same as the best interest of the company. Superiors want people who are working hard for them, because it makes them feel more important than half the people working 2 hours a week for them (even though the output is the same).
You're working for a person, not a company. If you forget this, then you might end up surprised.
People are .. people.