Researchers are collaborating to ensure that artificial intelligence doesn’t make unethical decisions when choosing how to optimize for companies.