They have 23B in cash and short term investments. But with rates so low its probably wiser to finance it out over 50 years and pay a couple percent in interest.
even if they didn't, I'm almost certain US would loan it to them at -% interest. Chips today are like grain supplies and heavy industry. You need them in your country