Z-Wave's primary advantage is, ironically, the openness of the ecosystem. Due to the lack of a stringent certification process Zigbee vendors can (and routinely do) lock devices to their proprietary hub. I'm guessing that is one main motivator for its failure. Though, keep in mind that Hue (one of the most successful IoT vendors) is all open Zigbee.
Zigbee's main advantage is that it's cheap.
Thread (the new standard to fix the old standards) is apparently just "Zigbee, the good parts". We will see if vendors drive it into uselessness like before.