Sale could raise billions of dollars and end Japanese company’s global ambitions as AI disrupts industry