Amazon won’t sell Nest’s connected cameras and security products. Meanwhile, it bought the smart home company Ring for $1 billion to compete with Google.