Another conspicuous failure of classical mechanics was with one aspect of the problem of radiation. ...Imagine a crowd of steel balls rolling about on a steel floor. ...There must... be a steady leakage of energy from... causes, such as air resistance and the friction of the floor, so the balls will eventually lose energy, and, after no great length of time, will be found standing at rest on the floor. The energy of their motion seems to have been lost... most of it has been transformed into heat. The classical mechanics predicts that this must happen; it shows that all energy of motion, except possibly a minute fraction of the whole, must be transformed into heat whenever such a transformation is physically possible. It is because of this that perpetual-motion machines are a practical impossibility.
James Jeans Physics and Philosophy (1942).