The only machine here is the legal machine that makes criminals out of ordinary people, and makes cops and politicians corrupt.
The cost to society is mostly caused by the criminalisation, not the drugs. And many drug users do stop eventually. Give them access to clean drugs and mental health support and more will.