How does a factory owner decide whether to invest in industrial automation or not?