All that said, perfect tuning can only happen with certain types of chords, and music that used only those perfectly tuned chords would be quite boring in general. There are so many more combinations that still sound "good". Part of what makes music interesting is building and releasing tension over time, and one way to do that is with chords that don't hit these perfect intervals.
As for the piano and other instruments like it, centuries of good composers have found all sorts of ways to take advantage of its particular idiosyncrasies, both alone and with all sorts of combinations of instruments. And it's not just old classical artists: in the 20th and 21st centuries, there are plenty of geniuses who have and continue to find new ways to bring out what makes the piano such an interesting instrument. Debussy broke all the conventional wisdom of his day to make the most beautifully resonant piano pieces. Check out Nancarrow's player piano pieces on YouTube to see the instrument taken to a ludicrous extreme; John Cage's piano pieces often go all the way in the other direction; Steve Reich's Piano Phase is a brilliant exploration of how we hear piano music; and finally, compare John Adams's China Gates (a solo piece) with Century Rolls (a concerto) for very different approaches from the same composer.
There are a few keyboard-ish instruments that allow this, and they're super fun and expressive:
- Roli Seaboard (https://roli.com/products/seaboard/)
- Haken Continuum (https://www.hakenaudio.com/continuum-fingerboard)
- Linnstrument (http://www.rogerlinndesign.com/linnstrument.html, more like a guitar layout than a keyboard)
There is plenty of music that stays within a single key and exploits proper rational tuning -- go listen to barbershop, for example. Voices can do this trivially (so can a handful of other instruments -- trombones come to mind), it's only devices with fixed strings or holes that are tied to equal temperment.
One of these, Hermode, has been included by default in Apple Logic since Logic Pro 7 (2004). Steinberg Cubase has also implemented Hermode since Cubase 7 (2012).
http://sethares.engr.wisc.edu/mp3s/Three_Ears.mp3
"As each new note sounds, its pitch (and that of all currently sounding notes) is adjusted microtonally (based on its spectrum) to maximize consonance. The adaptation causes interesting glides and microtonal pitch adjustments in a perceptually sensible fashion."
For a more radical approach see also her "Beauty in the beast", which uses nonstandard systems.