Neptune Robotics, which makes robots that clean the underside of giant ships, raised $52 million to accelerate its artificial intelligence-fueled global expansion.