As temperatures increase, trains and subways are becoming unendurable. Potential solutions include everything from cooling tunnels with water to painting rolling stock—but there’s no magic fix.