Cognizant has agreed to acquire Astreya, an AI infrastructure and data centre managed services firm, for approximately $600 million, its fourth major deal in 18 months.