Computer viruses cannot destroy computer hardware because they are simply pieces of code. On the other hand, it could result in situations where computer-controlled gear or equipment is harmed. By instructing your computer to switch off its cooling fans, a virus. For instance, may force your machine to overheat and break its hardware.