Judging from a search, "play the piano" is about 5 times as common as "play piano", but there are also many sources which uses both versions in close proximity, apparently interchangeably.
that is just my intuition as native english speaker, but the former cojld also mean the latter and i have seen it used like such before.
If you are answering which instrument you play, it's the former, but if we are talking the profession it's the latter, because you don't say then that you play a piano.