Australia has lodged formal complaints with Beijing over a laser attack on an RAAF aircraft which Defence says put lives in danger. China is being accused of a deliberate act of military intimidation after the dangerous incident involving warships off Australia's northern coast.