I thought I was aware of the early history of CT and MRI and am unaware of the space programme connection. Any chance you could point me at anything - my googling isn't getting me anywhere.
Nasa and Nasa-related contractors did not invent MRI and CAT scanners, but they contributed significantly to the technology as well as related aspects like digital image processing (developed at JPL for processing Moon images).
I mean, probably MRI and CT scanners would have been developed anyway. But space research definitely helped move things along.