Toyota is betting that building batteries directly into a vehicle’s structural frame can solve one of the electric car industry’s most stubborn problems: the alarming rate at which insurers write off ...