How the laws of physics could prevent AI from gaining sentience