The federal and South Australian governments have come to the rescue of the embattled Whyalla Steelworks.