What you're referring to sounds like the NZ film *The Water Horse: Legend of the Deep*. It revolves around a young boy in Scotland (not NZ, but close) who discovers an egg, from which hatches a 'water horse'. There's a subplot about protecting it from the military. Good family film.