Artificial intelligence has written novels, driven cars, and painted portraits. So, perhaps it was only a matter of time ...