A Formula 1 legend has issued an astonishing attack on a Ferrari chief following the signing of Lewis Hamilton from Mercedes.