Misleading way of looking at it. Lithium and sodium are not the major cost (or weight, or volume) inputs to making batteries, and crustal occurrence is very distantly related to cost. We mine things from places with 100x-1mx higher concentrations than natural. Water concentrates lithium into brines and clays for us. Sodium's low density causes it to create massive domes underground that are extremely recoverable. In contrast many metals aren't naturally concentrated.
Lithium batteries aren't made of lithium. They're made of nickel- or iron, or manganese, or cobalt. In iron and manganese batteries the #1 price factor is the manufacturing- the energy, solvents, and machinery used to deposit materials onto film.
Likewise sodium batteries are not made of sodium. There's 13x more iron in them than sodium. There may also be large amounts of manganese or vanadium. The cost of manufacturing is also higher per kWh.