Scientists tracked 300,000 trees only to find rainforests are losing their power to help humanity