Morgan Stanley analysts say companies’ spending on artificial intelligence might lead to reduced hiring in an already-weak employment market.