Yes it happens to me, too, and has been for several years. I switched to Duracell because Kirkland (Costco) batteries were much worse.
When I am not going to use something for awhile I take the batteries out.
When they do leak in the device I use one or more Q-Tips soaked in alcohol to remove the electrolyte.
Then I use 0000 steel wool to clean the battery contacts. I have always been able to bring a device back to life that way.
About the 9V batteries in smoke alarms. Your problem might not be the batteries.
My house came with several old Kidde smoke alarms, the type that run on
120VAC, have a backup battery, and are all connected together so that with one alarm goes off they all go off.They would do that occasionally, always when I was sleeping. Even when it was in the middle of the afternoon.
When I checked the batteries one of them would be much higher than 9V, like 10 Volts.
The smoke alarms were putting current *into* the battery.
Generally most batteries are rechargeable but recharging a battery produces some heat. The heat causes the pressure in the battery to increase. If a battery is designed to be rechargeable it is designed to handle the heat and also has a pressure release valve if it gets too hot.
Batteries that are not designed to be rechargeable do not have to handle the heat from recharging so they don't. They also don't have the pressure release valve.
The Kidde smoke alarms were "charging" the battery, making it hot, which increased the pressure inside the battery until the case burst.
I had one that outright exploded.
I ended up replacing all of the Kidde smoke alarms with a newer model. It doesn't do that anymore.
(All smoke alarms come with at least some reviews that say they go off occasionally for no reason. Some of those reviews come from shills who are hired by companies to praise the company's products and trash the competitor's products.)
When my new(er) Kidde smoke alarms need to be replaced I will replace them with the ones that operate solely on their battery and come with a
10-year battery.Smoke alarms are so loud they don't need to be networked.