North Shore-based Gecko Robotics announced it secured a five-year contract from the U.S. Navy with a ceiling of $71 million.