A new self-disinfecting device has been developed by scientists in order to combat dangerous hospital-acquired infections.