An ancient hybrid of tomatoes and potato-like plants may have given rise to the modern spud, a new study suggests.