There isn't a non-military, non bomb use for the amount of Uranium that Iran was enriching up to the levels that they were doing so.
All the things that you talked about do not require doing what Iran was doing. Meaning that... the only motivation left would be the 1 single thing that does require that much enrichment to those levels.
Hitting this from another angle, it doesn't make any strategic sense as for why Iran would sacrifice all that it is throwing away, just to get some medical research benefits. That would be a poor deal, and Iran isn't stupid.