They're still fundamentally different questions. Rigging up a bomb to a safe is already illegal, even if the bomb never goes off. Setting up a phone to destroy its own data under certain conditions is not.