The U.S. Navy has been testing the use of 3D printers on its ships to produce custom drones outfitted for specialized missions.