Accepting RSUs from Companies

Hi,

Given that nearly all Western companies hold their money in bank accounts and generate interest how is it permissible to accept RSUs from them?

In my case the company I work for sells a Customer Service chatbot, that in itself isn’t haram. But selling that ChatBot to companies which do haram activities and also generating interest on the cash is haram.

In this case it’s not permissible to accept these RSUs right?

Thanks