Yup. During the lockdown I had time to waste and checked various YouTube videos and they scared me enough that I started checking my old computers for batteries. Found one in an old Apple computer (I forgot if it's a Classic or Classic II or Plus: one of those "inside" a 9" CRT) and indeed the battery had started leaking. I took it out, cleaned what I could, and the computer was still working. But a few more years and it would have been badly damaged.
And it's not just batteries: capacitors may sometimes start leaking and destroying the PCB too.
Alternatively get involved the with retrocomputing communities. A lot of people are much more reasonable about prices, especially some of the more knowledgeable people I've met. I'll probably be selling off an SGI Indy and some T1/E1/Telecom equipment soon.
But yeah, anything particularly cool or pre-80s I've lost a lot of money on ebay. Occasionally a neat deal. I got a fully working very nice condition X-terminal for like $20 and got it (inconsistently) working with a modern Linux server over modern Ethernet LAN.
Or they're laptops which have their own battery issues (swelling and fire)
An interesting thing is emergency power supplies don’t always precisely control this, so after a disaster sometimes all AC connected clocks in an area drift by the same number of minutes.
NTP or radio synchronization is probably better in many cases since those are absolute rather than relative references. And GPS should normally be the best although there are cases where 1, 2 or all 3 of those might be unavailable.
The interesting stuff is also being held by private collectors in large amounts.
Around 2000-2010, a lot of the interesting 80s and 90s stuff started becoming cheap and was snapped up by any interested party, the rest was landfilled. If you are getting into this now, you are too late - hit up ebay and pay inflated prices.
Speaking of landfills, most of those computers had RTC on board, and were powered by batteries, which tend to explode and "rot" away the board. It's likely very few of them will be salvageable in an easy-to-repair way if they sit for another 20 years.