Automakers and banks are grappling with how to manage the residual value of electric cars