It’s a lonely time to be optimistic about technology. For generations, utopian computer scientists had dreamt of engineering genuinely intelligent machines. Now, their fondest wish is coming true — and people seem to hate it.