Unmanned undersea vehicles will be developed under the AUKUS defence pact, US secretary of defence Pete Hegseth said.