How do you secure the private data shared by these devices and what guarantee is there that these data of billions of users won't be compromised?

http://tecknowlogic.com/defining-internet-of-things-iot/