The Australian government is demanding answers from Beijing after commercial flights had to divert over the Tasman Sea after they received last-minute alert about Chinese warship exercises.