Mission Internet of Things: Why Google spent $3.2bn on thermostat maker Nest