Microsoft said its is struggling to build enough data centres to handle demand for its artificial intelligence products.