The inaccuracy of polling data came as a big shock after consistent predictions of a Labor victory, with bookmakers even paying out in advance.