Every tree, flower and blade of grass will one day wither and die - and scientists now believe they have worked out when that bleak moment will arrive.