A man who ran towards a gunman during the Bondi Beach shooting in Australia is a Middle Eastern refugee.