A boycott perfectly accomplishes this. I don't want to purchase devices that arbitrarily shut down. It protects me from spending money on bad devices and from people that create devices and companies with bad practices.
Even a tiny bit of attaching moral standards to individuals in the business will have a big effect - people will leave a company if they see something immoral happening, so as not to hurt their own employability.