A fatal shootout claimed by the Islamic State group is being treated as a terrorist attack by Australian police.