It is common practise to earth the fuel pipes used to put gas into the tanks of automobiles in order to prevent the buildup of electrostatic charge which could create a spark. Mooring an oil tanker with a metal cable will earth it and reduce the chances of electrostatic discharges occurring.