Investing in company that has haram components in it

Salaam alaikoum, I hope you are having a nice day.

I sit with this dillema and I found it very difficult to come to a conclusion.

The dillema is there is a company that I want to invest in that provides AI genereated assistants that help businesses speed up business proceses. It is a intellegence bot that can do what a normal employee could do like picking up orders, making a contract or asking questions to it. They are active in different aspects and sectors in businesses like, retail, B2B, B2C, law but they also contribute to insurance companys

As you can see they offer halal services but its not 100% halal. Is it permissible for me to invest in it?

I hope you could help me with this difficult situation.

I am looking forward to your response