For all other cases, you can still try to not give money to people who suck by going for fair trade products and stuff like that.
Your assumption lies on the "without realizing it".
If you realize how bad the people are, you can do something about it.
The likes of Musk are extremely bad, and have been personally responsible for many, many abhorrent developments in both national and foreign stages.
Thus, it's natural that people avoid anything which is directly and indirectly tied to the likes of Elon Musk.
Don't you agree?
The problem is you have no idea what people are invested in what companies. How do you know that when you shop at $friendlySustainableCompany that people like Musk do not have shares there?
That's not an argument that justifies in any way ignoring the people you do know.
Do you think it's ok to ignore the far-right activist who has been deeply involved in election fraud?
I, too, have a Starlink account for emergency backup service that I plan to switch over to Amazon LEO as soon as it's available. Lesser-evil principle at work again. Yes, there are things that aren't great about Amazon, but Amazon's practices are largely in sync with my capitalist values.
Musk's businesses are also compatible with my capitalist values, but those values don't include his special additional bonus values of Nazi-adjacent behavior, association with known pedophiles, sabotaging the government, or active subversion of elections. It's not a religious thing, it's just that given a choice, I'd rather support someone else.
Not a valid legal defence. I think we need to build tooling that makes moral stances like yours easier to adhere to, then see how people react when they realize just how impossible it is.
There are degrees of antisocial behavior, and there's a limit to what I will tolerate from others and indulge in myself. That limit is not zero, to be honest, but it's far from the standard set by Musk.