Let's say you want to threaten your enemy with nuclear war so they'll do what you want. Maybe you want them to withdraw their missiles from Cuba. The threat you make actually has two components - the claim you'll launch, and the credibility of that claim. The enemy is only scared of the /product/ of threat and credibility, so if either is zero your enemy has nothing to fear.
If you say "we'll certainly launch" you have no credibility (you'd have launched already, and everyone can see you haven't) and if you say "we certainly won't launch" you have no threat.
In fact, Schelling points out, the only credible threats are /randomized/ threats, that fall somewhere between 100% and 0% chance of launching. You threaten your enemy by showing him you have a system that has a 0.1% chance of launching per day, and you'll roll the dice every day until they withdraw their missiles from cuba (or whatever you want them to do).
Except rather than rolling dice, the random threat is from systems failures and mad generals.
This is what the DEFCON level is really about - increasing the 'readiness level' amounts to reducing the controls that prevent accidental launches, increasing the threat of a random launch.
'Doomsday machines' can be explained by a similar calculation: Nobody will believe you if you claim you'll trigger nuclear war if a single soldier took a single step over a border. So why would you for two soldiers or two steps - or indeed the capture of some trifling town near one of your allies' borders? It's not like mutually assured destruction will become a more palatable concept when the enemy tanks are ten miles over the border instead of one.
However, if you build a doomsday machine with tank detectors ten miles past the border, then you give enemy diplomats and spies a tour and show them that it works, the claim that you'll launch has credibility /despite/ the fact the ten mile line is arbitrary. The invader's calculation is no longer "If our conventional forces do X, will /they/ trigger a launch?" but instead "Do /we/ want to trigger a launch?" and the answer to that is always 'no'.
So Dr Strangelove is actually a pretty well informed film :)
[1] https://en.wikipedia.org/wiki/Thomas_Schelling#The_Strategy_...