Ansari has grown his AI recruiter into a data lab with a valuation over $2.5 billion by seizing each new opportunity as it comes.