Airliners were crossing the Tasman Sea crossing between Australia and New Zealand when the Chinese navy warned they were flying over a secret live-fire exercise, Australian defence minister Richard Marles has said.