The process of teaching AI to have care and compassion can scale empathy and make humans more empathetic themselves.