AI is already widely used in hospitals and medical research. Can a new way of thinking unleash the technology’s green credentials?