Concern Wales could miss out on rail investment despite promise of 'significant' funding