Three drugs in particular have become household names not because of their original uses, but because of what researchers later discovered they could do