TAI and UTC are based on the SI second. The SI second is specifically defined in terms of cesium atoms at no temperature, no velocity, and no elevation (aka, on the geoid). Consequently TAI and UTC are immune from relativistic effects, by definition.
On the other hand, the physical clocks in the laboratory are not immune and that's why they have to be corrected for a dozen factors, the largest of which is usually gravitational redshift. To appreciate the complexity and precision of this correction see this NIST paper:
https://tf.nist.gov/general/pdf/2883.pdf