TV plus WIFI device. No contest. Don’t depend on a WIFI enabled television.
Its the same technology, an embedded Linux computer, just packaged in separate boxes or all in one. No difference in potential vulnerability. Or just believe what you read in the media, since they always get it right.