That was a clone. Madara can survive being hit with the Death Star, as long as it doesn't actually hit him.
ehhhh what???
Anyone can survive any attack, if they aren't hit by it.
My what response was to "Why would the situation of not being hit " be an option when OP asked about "surviving"