Biodiversity 'time machine' uses artificial intelligence to learn from the past