Tesla’s retrofit saga may be a canary in the coal mine as automakers grapple with aging computers likely to become obsolete long before the vehicles wear out.