A warning to all smugglers: A new underwater robot could be used to sniff out contraband — including weapons and drugs — hidden aboard ships.