Factories are heading for a ‘dark’ future — and it’s not what you think