Nothing, so far. The alternatives to that would be to legislate penalties for paying, to mandate certain precautions like regular offline backups (which could usually be done through regulation), to forbid the government from doing business with entities that have paid in the past X time (procurement regulations are somewhat flexible) and/or to task some government agency with aiding private sector entities in recovery if they don't pay (which has varying difficulty depending on the jurisdiction).
Obviously none of these make it impossible, but the goal needs to be to tip the value proposition the other way.
Obviously none of these make it impossible, but the goal needs to be to tip the value proposition the other way.