Fully automated factories with AI technology