Leading US technology companies, including Amazon.com Inc., Anthropic, Apple Inc., Alphabet Inc.’s Google and OpenAI Inc., have pledged to work with health systems and the Trump administration to make the nation’s fragmented medical data more useful for patients and providers.