Abu Dhabi's CYVN Holdings agreed to acquire McLaren’s automotive business and a non-controlling stake in McLaren’s racing business.