Either stop buying their products, which puts them out of business, or vote for different politicians who are immune to this influence.
Or whine.
To be fair though, it's not always a system you can opt out of. Sure there are some items which are luxury items which one could forgo. Or there are things which have an alternative. So for instance, you don't like Company B because they ship jobs overseas, so you buy from Company A which does not.
But some things there is no alternative and its not really viable to just opt out if you want to survive. For instance, you need health insurance, you need a given prescriptions, you need housing, you need health care services. You can't just forgo these things. So does that mean you can't ever criticize the business practices of landlords, or pharmaceutical companies, or hospitals, or health insurances? Yes, your money goes to these very things that you are complaining about, but what other choice do you have if you want to live? And sometimes you might have the problem with the industry in general due to guidelines they all follow, so it's not a matter of just going to their competitor, if all their competitors do the same thing.
Also, when it comes to Walmart, I personally don't shop there (there aren't any around me even if I wanted to). But my husband's family is from a rural farming community in the deep south. They complain about how they don't have a choice but to shop at Walmart because it is literally the only store within a hundred miles that has many things they need just to get by. They complain about some of Walmart's practices, but there is no where else to shop except for Walmart. And no, just moving isn't an option because they own a cattle ranch that has been established for several generations. They can't just pick up all their land and cows and move to a place where somewhere other than Walmart exists. Frankly anywhere with the space they need at a price they could afford probably would be in the same situation, Walmart's it as far as options go for many products.
I think there are people who are hypocritical in terms of complaining about corporate policies while patroning those corporations. But sometimes you really don't have much of a choice.