Computer scientists need to grapple with the possibility they will accidentally create sentient artificial intelligence (AI) — and to plan for those systems’ welfare, a new study argues.