Some day, if there's a fire on a U.S. naval ship, a humanoid robot may rush in to put it out.