Note: The only thing Google got out of Apple was a one billion dollar refund on an existing search engine agreement, AI real value in the future is as a new addition, to the existing programming stack or toolkit used by programmers. That value does not add up to spending $1 trillion dollars on capex.
If Apple spends any big money in the next 2 to 4 years, they had better spend it on bringing the design and engineering of memory in-house to the Apple Silicon Group and TSMC.