Microsoft CEO Satya Nadella said the company would invest $25 billion in data centres, while warning that job upheaval caused by AI was inevitable.