Scientists have unveiled a working prototype of an artificial heart which could one day replace life-saving transplants.