One of the last bastions of human mastery over computers is about to fall to the relentless onslaught of machine learning algorithms.