Companies maximise profit, and they influence politicians to get the loopholes they want to avoid paying tax. Your annoyance needs to be focussed on the politicians for doing this, not the companies, I agree. That doesn't mean you should feel good about companies lobbying and then using loopholes to avoid tax.
You obviously have the option of not using companies that behave in ways that you disapprove of. Don't like companies that don't pay a living wage? Boycott them. Don't like companies that go to extreme lengths to avoid tax? Don't buy from them. Don't want bonded labour to be used to make what you buy? Don't buy it.
If enough people behaved this way, companies would start to behave better. The reality is that people choose to not find out, or don't care, then buy the cheap thing off the shelf.
When you renew your insurance, do you get the cheapest, or the one that you trust to deal with you fairly when you actually need them? I think the majority pick the former. Does that mean they deserve to get screwed when they need them? I'd say no, but it doesn't necessarily encourage the industry to evolve in a good direction.