If you're invested in any index funds or most mutual funds (including through your retirement account) then you can't really sit this one out. We're all going along for the ride, hold on tight.
You're invested as much as you are in tesla already, palantir or any other unsavoury S&P500 company, you can't really pick political sides in a "all the top companies"