Raspberry Pi w/ Retro Pi and Kodi. Cost about $100 to build. Maybe another $30 if you get the Bluetooth keyboard I use to operate it. You will need an amazing internet connection to stream in high resolutions. I don't stream in HD but I get everything for free with no commercials w/ everything on demand.
I don't think kodi apps offer 4K
__________________ Rubber Duckies - 518th Brigade