In today's world of abundant choice, companies have to provide good products AND provide them ethically.
Back on topic, look at what Astrolabe have done - taken something they probably couldn't make much money from anyway, and got the unix-derived world very pissed off with them. Their employees will feel down and it'll be harder to hire, and they'll have to endure snide remarks for years. I know I'd be selling their shares today, if I had any - I don't like investing in jerks.
Instead, they could have come out and said "We're pleased to donate our IP towards this amazingly useful service", and got a pat on the back from the world. And I'm guessing most of their shareholders would have been happy their investment was making the world a better place.