Again, companies probably don't go out seeking to commit human rights violations, and some of them care greatly if their personnel or the contractors they hire or whatever become complicit or commit or perpetrate human rights violations.
I think what companies need to have in place—and this is one of the requirements of the United Nations guiding principles on business and human rights—is that the responsibility of corporations to respect human rights includes that they undertake human rights due diligence: that they look at what the risks are to the people, not to themselves; that they engage in meaningful consultation with local communities; and that they prevent and, if not, mitigate violations of human rights.
That would be what a company should do. They should put in place these internal processes. This is something that European countries are actually going to mandate of corporations.