The US Navy is trialling a new system for reloading warships at sea because of the increasing threat posed by China.