The world has watched on with heartbreak as terror gripped Bondi Beach, leaders around the globe condemning the attack.