More pianists than any other kind of musician earn money without teaching or performing - they're rehearsal pianists for opera, dance, college students (though in that job you inevitably end up doing some sort-of performing at least, if only in front of the rest of the student's class), singers' coaches, and so on. I do all right at it and it's enjoyable work.