AMD will provide 6 GW of custom infrastructure to Meta, while building up its own tech arsenal against NVIDIA.