Consider two knife makers. One sells cooking knives. The other sells similar knives and tells people they're designed for stabbing. (The handles may be made so lifting prints off them is intentionally difficult.) Two stabbings happen, one with each of their knives. The government may have a case against the latter knife maker in being party to the crime.
Trafficking drugs is illegal. (It is also far from victimless.) If you intentionally make devices to aid drug traffickers, and then confess that to a federal agent, the government probably has a case. I say all this as someone who believes in de-criminalising most recreational drugs.
Disclaimer: I am not a lawyer. This is not legal advice.