Reasons for the job declines vary by automaker, but are generally tied to evolving technological changes in the industry — including the rise of AI.