Amazon, Google, Microsoft and Meta are pouring billions into artificial intelligence, undeterred by DeepSeek’s rise.