Google and Apple battle for the key to your smart home