Both Conservative and Labour plan to reduce government investment over the next parliamentary term