Manufacturers develop cheaper and more scalable medical devices that run easily compromised operating systems, such as Windows, that are frequent targets of ransomware attacks.