Artificial intelligence has written novels, driven cars, painted portraits – so perhaps it was only a matter of time before ...