Artificial Intelligence for Social Good: When Machines Learn Human-like Biases from Data