Drugs aren't in the same category as murder (or any violence). Most obviously, they are personal. Drugs don't bust into your house at night and kill you. We don't [typically] see suicide as a crime because of that even though the result is the same.
It's vastly cheaper to subsidize rehab for the relatively small number of actual addicts than it is to pay to arrest and process a million people a year. Not to mention the effect on GDP of the lost production from all the incarcerated people.