Meta said it would use “tens of millions of cores” worth of Amazon’s ​Graviton central-processing units.