Stem cells could be the cure for seizures and repair cognitive function in the brain for some patients, new research says.