Brain-computer interfaces could let people communicate by thought, restore lost senses, and reshape identity itself.