Basically: the way this ends is when the collective will of the power centers (generally the armed forces, though not always) decide that they'll be wealthier and happier with Putin gone than by following more orders.
And obviously that's an unstable/unpredictable equilibrium, because groups don't decide collectively like that and exactly how a coup works is never known until it does. But it's the way literally every other government of every other failed state has fallen[1], and there's no reason to think this one will fare any differently.
[1] Well, there's "unexpected death of the leader" thing too.