AI-controlled sensors to save lives in 'smart' hospitals and homes