If you’re investing in stocks and using an index fund you may be funding Tesla. I would recommend seeing if there’s an option to use a similar index fund but exclude TSLA.

This website has some information on others ways to divest from Tesla and call and email people to encourage others to do likewise.