The deal follows years of global automotive supply chain issues for GM and other companies.