The story of the invention that could revolutionize batteries—and maybe American manufacturing as well