The factory of the future might be AI-native and full of robots, but getting there is a rocky road filled with profitability challenges.