The Journal recently traveled to the Portuguese coast to observe a major military exercise testing drones and undersea tech.