AI Thermodynamics