Israel cut off the power from the last facility in Gaza that was receiving power, a desalination plant that officials said brought water to hundreds of thousands of Palestinians.