An open source cocaine production machine is still an illegal cocaine production machine. The fact that it's open source doesn't matter.
You seem to not have understood that different forms of appliances need to comply with different forms of law. And you being able to call it open source or not doesn't change anything about its legal aspects.
And every law written is a compromise between two opposing parties.