An artificial intelligence can detect diarrhoea with up to 98 per cent accuracy by analysing the sounds emanating from toilets. This skill could help us track outbreaks of diseases such as cholera.