Is it allowed to purchase a company's halal product if the other product made/sold by the company is something that is haram for us like alcohol?

Yes.