I think cold likely kills more cows than heat does.
Dairy cows give less or no milk at all in hotter climates, this is a bigger problem for 3rd world countries since developed countries tend to be in the temperate zone and can afford AC.
Cold only requires a barn, which stays warm simply from the body heat/respiration of the cows.