There are multiple ways of playing spatial audio content. Some streaming services offer music or movie content in Dolby Atmos surround, and in many cases, this can be played back directly from the app installed on the connected TV screen.
Alternatively, the streaming app can be installed on a Dolby Atmos-compatible set-top box (e.g. Apple TV) connected via HDMI to the TV screen.