Cycling has more benefits than replacing cars. It connects us with joyful movement. And the infrastructure is cheaper to build and extend compared to railways.
This means nothing.
Ideally we'd return back to the 1890s-1910s with public transport consisting of fixed line trolleys or light rail covering distances larger than five or six blocks while walking or bicycling covers distances less than that. That's where EV technology would be ideal because you could run a combination of overhead, third rail, and battery power depending on available infrastructure and space, all using the same cars city or town wide.
Cobalt isn't necessary to build li-ion batteries, considering that there are mainstream chemistries like LFP which eschew cobalt entirely.
People don't necessarily want to live in a big city, go only where the buses and trains go, and never have the chance to go on road trips or vacations to the mountains or the beach. Better for the climate to do this via battery power and not fossil fuels, because it's going to happen.