A hiring slowdown and fears about artificial intelligence have investors on edge, and some in the Trump administration on the defensive. Share