Low cost batteries and software are spawning entirely new industries | Fortune