The UK chancellor’s spending review is accused of undermining the prime minister’s “green” vision.