Chinese scientists have finally uncovered how wild tobacco plants create nicotine, solving a mystery that has puzzled researchers for centuries.