If everybody switches to electric do we have enough raw materials for batteries like lithium to supply the whole world?
This is a common misconception about batteries. Lithium makes up about 2% of the mass of a Li-Ion battery, and it is more abundant in the Earth's crust than lead or tin.
Source: "Battery Recycling > Lithium ion batteries" https://en.wikipedia.org/wiki/Battery_recycling
Even with high recovery rates, per-generation losses mean that new mining or other recovery is constantly required. And the amounts of lithium required for widespread energy storage are truely vast.
Aluminum air batteries are not really rechargeable (you have to reduce the oxygen out), but at some point I think they may make some sense.