You can put an air conditioner on them. I worked in a medical station built in a shipping container in the Afghan desert in 40 degree heat for a summer and it was fine.
The problem is, that there are enough buildings in other places than Afghan desert and containers make no sense at all. One can find many empty government buildings in every city. From offices left days ago, empty schools to not yet finished hospitals or empty exhibition halls.
You also need to consider the build out. I feel like it'd be easier to get the experts required to build out a mini-icu in one central location and develop methods to mass manufacture the standardized container than it would be to fly people around the country to one off a bunch of buildings.
The portability also brings other benefits.
Think about availability of doctors, not the ICUs. There’s a need to accommodate 2-3 shifts of doctors and nurses. And these are not endlessly mobile unlike containers.
I don't think it's about the building - doesn't matter what kind of room it goes in. It's all supplying all the equipment and connecting it up and powering it all. A shipping container is a useful pod to do all that in and then take it where it's needed - where the patients and doctors are. Like how they build hotels nowadays by shipping furnished rooms to the building site.