Amazon just beat Apple in winning the smart home | Fortune