Harnessing AI and data to build the smart factory of the future