I should clarify that I do not trust Microsoft more in terms of data collection, rather that security patches will be automatically pushed to an Xbox one. And that it has a relatively low likelihood of becoming part of a botnet, or compromised by a persistent form of Trojan.
Good luck getting a software update for a four-year-old smart TV running some obsolete version of Android. Or WebOS.
Xbox 360s are 12+ years old now and are still generally considered something that is safe to have on your home network, and not vulnerable to any known in the wild remote code execution.
Xbox one or PlayStation 4 has considerably lower chances of becoming a malicious, virus-infected device on my home network.