It could, I think many companies do choose the right thing over the profitable thing, at least sometimes. Obviously not all companies, and not everytime. If that caused sufficient lost profits, shareholders might band together to try and change the leadership of the company. I can't cite a specific instance of this happening, I think it's rare. I would be surprised if it hasn't happened though