The rise of generalists in the AI era