Magna International will acquire Veoneer for $3.8 billion, or $31.25 per share. The deal is expected to close by the end of 2021.