For Tesla, Facebook and Others, AI’s Flaws Are Getting Harder to Ignore