Of course, on a Total Cost of Ownership (TCO) basis, it was already cheaper quite a while ago (for the last 5 years I'd guess). It was a combination of LiFePO4 batteries having such longer cycle lives than any lead-acid chemistry, and the greater depth of discharge meaning you could use a lot more of the energy. So if you build a new lead-acid based system, you'd need almost double the amp-hours of batteries to supply the same amount of energy with a safe depth of discharge, and you'd still have to replace them much sooner. So you'd not only have to factor buying a lot more batteries with lead acid but also replacing all the lead acid batteries at least once while a LiFePO4 system would continue to operate.
Ok, but they often are lead acid batteries. I just bought an inverter off a guy with lead acid batteries. They exist like crazy all over the place because lead acid can be reconditioned effectively forever with proper equalization. If you have lots of solar and you value repairability with simple tools and simple skills lead acid still has a niche