A €400,000 machine purchased by a Galway City hospital for treating public patients with kidney problems was lying idle for three years.