Apple has more than $200 billion in cash. If they want to they can.
To put that in perspective, I think porsche paid about $1 billion to build the Taycan production facility. Granted that doesn't include all the knowldge that Porsche has built up over that last 69 years. But a couple billion...