I would say that any pianist hired for such a show would be interviewed for his knowledge of the standard song repertoire. He/she will have the song and harmony memorised and will simply, as you say, improvise, transposing the chord sequence in his head to whatever key necessary, improvising accompaniment and flourishes as he/she goes. It's a wonderful skill (one which I have not yet acquired, though I improvise a lot!)