The U.S. Navy has tested 5G capabilities to improve ship-to-shore communications and explore ship-to-ship connectivity options.