Evolution of human-AI collaboration