Basically, the piano uses equal temperament out of necessity. During the last major period of harpsichord construction, it was necessary to adopt equal temperament to permit modulation to extremes of key. Up to the 16th century, the most common tuning system was Mean Tone, which permits very pure sounding thirds and keys not far distant from C major/A minor (which as you probably know are closely harmonically related).
During the 17th C, a range of systems were developed, along with keyboards with enough keys to physically permit their operation. Equal temperament offered many advantages, but obviously it is limited in that only one note on the entire keyboard can be perfectly tuned. But for the purposes of the early piano, it was perfectly sufficient; the result was Bach's Well-Tempered Clavier which was written as an exercise to demonstrate equally tempered keyboards.
Apart from in experimental pieces, pianos are now only ever tuned to Equal Temperament, purely because of the limitations of the number of keys that can be fitted within one octave. You may even see experimental instruments which have separate notes for enharmonic eqivalents (even though that phrase doesn't really apply outside the realm of Equal Temperament) such as the English Concertina, a 19th-century squeezebox in meantone with separate D#/Eb. No such problem for a violinist who has completely contiguous control over pitch. No pianist has the luxury of being able to retune his instrument for pieces in different keys. The vast majority of post-Baroque music modulates frequently enough to make the older temperaments obsolete.
I hope I haven't confused matters unduly here - I'm sure No Worries or Spicy will be able to elaborate on this. As for me, I'm a Bach nut.