بسم الله الرحمن الرحيم
If most of the business of the company is halal, the company is Shariah compliance, though they are involved in nominal interest, then it is allowable to invest in such companies. However whatsoever amount is received from the interest based business it is necessary to be given it in charity to the needy and poor ones without any intention of reward.
لأن سبيل الكسب الخبيث التصدق إذا تعذر الرد على صاحبه (شامى: 9/553)
Allah knows Best!
Darul Uloom Deoband