The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.
In this business, by the time you realize you're in trouble, it's too late to save yourself. Unless you're running scared all the time, you're gone.