Investment Management Corp. of Ontario has written down its $400 million investment in Northvolt AB, the electric vehicle battery maker.