The massive AI infrastructure spending by tech giants is primarily directed towards building AI data centers, acquiring NVIDIA GPUs, and developing custom silicon like Amazon's Trainium/Inferentia chips, Google's TPUs, and Microsoft's MAIA chips to fuel their AI services and foundational models.