A full sized piano us probably the best instrument, since you can write music for any style on it. I'm sure you can find a piano version of orchestral music, blues jazz or heavy metal.
But I'd still go with a six string guitar since it's fairly portable and can still be used for a huge variety of music.