The takeover of a major construction contractor which is owned by a South African firm but based in Australia will not proceed after the sale was reportedly blocked on national security grounds.