Surgeons attached a thought-controlled robot arm directly to an amputee’s stump, giving him a far greater range of motion.