The Silicon Valley-based giant said it was its "bigst-ever spend commitment," which comes as tech companies battle for dominance in createing artificial intelligence technology