Elephants appear to have evolved their long, grasping trunks as a result of climate change pressures on their ancestors millions of years ago.