Artificial intelligence has made its way into nearly every corner of modern life — from booking holidays to writing emails.