CEO Arvind Krishna said the company posted $5 billion in bookings for its generative AI segment.