Apple is working on a new ecosystem of smart home devices via a partnership with LG, Bloomberg has reported.