Computer can already get infected by malware and you can damage the motherboard if you overclock the CPU too much, but computers are much more easier to repair than our human brain. However, our electrical computers won't last forever, you can't tweek Moore's law into infinity due to heat in the capacitors and transistors. Scientists are therefore researching about quantum computers and protein computers. As soon as we get real DNA printers and protein computers, it's not impossible that a computer could react to drugs in the same way that we do.
If you're interested in computer science, i highly recommend that you watch this clip with the theoretical physicist Michio Kaku.