By directly communicating with the brain, a new wireless device could someday help restore lost senses or manage pain without medications, its developers say.