https://www.logitech.com/en-us/products/mice/m705-wireless-m...
This M550 mouse is rated for two years using the Bolt wireless adapter.
https://www.logitech.com/en-us/products/mice/m550-signature-...
The K400 keyboard+trackpad I have routinely lasts at least couple of years despite only rated for 18 months, but it didn't get as much usage as a regular kb+m as it was mostly used as a couch keyboard or as a quick debugging combo for working on machines on a workbench.
https://www.logitech.com/en-us/products/keyboards/k400-plus-...
I think I may have also replaced mouse or keyboard or both a while back, with identical models, so call that two battery changes in five years, if you want to be conservative. Maybe it helps that they're disposable instead of rechargeable.
If you travel a lot you might have to replace the USB dongle once a year, in my experience($5).
It is still used weekly or so!