A portrait of English mathematician Alan Turing became the first artwork by a humanoid robot to be sold at auction.