How tech is forcing firms to be better global citizens