How about Coca Cola, named after cocaine and kola nuts?
The short answer is the cocaine is used for medicine.
https://en.wikipedia.org/wiki/Coca-Cola
> The drink's name refers to two of its original ingredients: coca leaves, and kola nuts (a source of caffeine).
https://en.wikipedia.org/wiki/Coca
> Coca is known for its psychoactive alkaloid, cocaine.