ANSWER:
It is totally prohibited to invest in such kind of company that gives you riba. You must sincerely repent to Allah as this is one of the major sins in islam and never fall into this sin ever again.
Keep your capital and dispose off the riba to poor and needy Muslims in order to cleanse your wealth of this haram income without anticipating any reward for it.