The USB port warning was on the phone or the computer?
Excess temps could certainly damage components on the motherboard, although I think the phone would know enough to either throttle its performance when it gets that hot, or just shut off. It could just be due to age.