Funding high-speed rail projects 'a shameful act'