Apple has an ambitious plan to conquer the smart home