If rising costs do push businesses to boost efficiency, Microsoft, with its Copilot artificial intelligence assistant, could be helpful, CEO Satya Nadella said.