It was the stuff of science fiction — until recently.