Big companies and car manufacturers like Samsung and Toyota are betting big on solid-state batteries. Here's how they work and why we need them.