They do not have to buy an automaker.
There is for example "Magna" a canadian-austrian automotive supplier [0][1] which also produces complete cars for their customers (contract manufacturing) [2]. Magna has started producing electric vehicles recently, for example the Jaguar i-Pace.
This sounds much more like than Apple buying a manufacturer and optimizing its supply chain -- its like the ultimate form of pushing inventory costs upstream.