With brain-computer interface technology, we could one day control our devices and our homes using only our thoughts.