Internet of Things security is under scrutiny as Apple moves to introduce its smart home system and Google works to expand its suite of web-enabled home devices.