After in-car infotainment, Apple is setting its eyes on home automation.