Technology already allows the brain to communicate directly with machines. In the future, this could help restore movement, treat neurological disorders, or even enhance cognition.