investments in smart factories