Hydrogen vs. Battery Electric Cars

I'd like a discussion on the production supply line for batteries vs hydrogen. Batteries make use of rare earth materials that will be pretty expensive to get enough of to put a battery in every car on the planet. This would need to be contrasted with discussion on the materials needed to make solar/wind powered electrolysis, photoelectrochemical systems (although those are still in the research phase), or high temperature electrolysis hydrogen refinement pipelines.

I think that discussion is actually very telling about which is going to end up being more useful. Personally, I'm more excited about hydrogen than batteries, unless we invent some new silver bullet battery that solves all the problems somehow.