Microsoft has been accused in a shareholder lawsuit of defrauding and misleading investors about slowing growth in its Azure cloud unit and plans to spend heavily on artificial-intelligence ...