Robots provide real-time surveillance using cameras to monitor ship decks and identify potential piracy threats. These systems help secure ships without exposing crew members to danger during piracy incidents.