Watch for battery life when buying older Surface devices. Replacing batteries in the older Surface Pros is notoriously difficult, because apparently the whole assembly is glued together. Loss of battery life is what forced an early retirement of my 5th-gen (2015) Surface Pro, even though not was otherwise completely serviceable. Newer versions are apparently more repairable, but you’ll have to investigate where that cut-off line of repairability is.
Big hospitals still have them to send medications and random lightweight stuff around the complex. My wife has worked in two large hospitals that had pretty extensive tube systems, used especially with pharmacy.