Magic Molecule was wary of supply chain issues impacting its business, so it took matters into its own hands.