Deals worth over $40 billion were announced Thursday as companies teamed up to become leading providers and gain clout to negotiate with hospitals and insurers.