The batteries typically installed in TPMS sensors are typically lithium coin cells with a rated shelf life of 10 years. That does not mean they will last the entire 10 years, but if stored on the shelf, the internal battery resistance will not drain the cell lower than the useful voltage. If I used, lithium cells in storage can last much longer.
If I’m not mistaken, the pressure sensor in the tires is VERY low current drain and should provide approximately 10 years of usable life. That being said, I have a 2005 Nissan Armada with the original sensors in two of the tires, one new ones in the other two, both replaced in the past year. YMMV.