I don't know how it all works, but I did see on Vanguard there's an option to change how vanguard votes on your behalf. There's the default of "maximum profit", but there's also "long term stability" and "ethical" (not the exact names). I don't think every company has options like that, but they probably should, if we're going to keep this kind of thing around at all.
If you use vanguard, go see what your options are.
Edit: think I found it https://corporate.vanguard.com/content/corporatesite/us/en/corp/about-our-funds/proxy-voting-across-funds/investor-choice.html#policy-options
Egan-Jones Wealth-Focused Policy
[...] This policy by rule rejects proposals based on environmental, social, or political considerations unless they directly contribute to revenue generation at the company receiving the proposal.
None of them look super good though