The Nazis are not infamous for the demolition of houses. What they did in Warsaw was kill 90% of the Jewish population. No one cares about the buildings (many of which were actually demolished by the Soviets after the war, to make place for apartment buildings).
I know there’s an attempt by some to simultaneously downplay what the Nazis did while exaggerating the evils of Israel, but no - Rafah is not “just like the Nazis”.
A closer comparison would be the Egyptian demolition of Rafah on its side of the border in 2013. Both were done after the population had been evacuated, and to create a buffer zone along the border.
Houses are often demolished by force, to build freeways or for housing projects. It’s not a nice thing to do, but it’s not “like the Nazis”.