Helping a child in a virtual reality game increased players’ motivation to help others in real life, according to a new study.