All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger.
It is permissible for you to benefit from that device and use it even if some devices were taken unjustly from the company. Ibn Qudaamah said: “If a person buys (an item) from someone whose money is mixed form lawful and unlawful resources, then if he knows that the sold item is from the seller’s lawful money, then this item is lawful, and if he knows that this item is from his unlawful money, then it is unlawful, and if he does not know whether it is from lawful or unlawful money, then it is disliked to buy it because there is a probability that it is unlawful, but the sale is valid as it is also probable that it is lawful, and this is regardless of whether the amount of the unlawful money is little or much.”
Allaah Knows best.