'Robo-doc' puts patient's heart back on the beat