The STUC has warned the Scottish Government that 'significant investment' is needed to protect Scotland's nationalised railways.