Doesnt google themselves use nvidia chips. why do they need nvdia chips then?
google doesn't use them, they buy them to make them available for google cloud customers that require CUDA or other nvidia-only workloads. All training and inference at Google is done on TPUs.
Basically capacity issues. NVidia + Apple have bought up a significant portion of TSMC's manufacturing capacity. The primary supplier for Google's TPUs is Broadcom, with TSMC as a second source, and they're trying to ink contracts with other suppliers like MediaTek, but there're only so many semiconductor fabs in the world and TPUs need a fairly modern process.
Within Google itself the TPUs are definitely preferred for AI workloads, you just can't always get them.