If we don’t control the AI industry, both books warn, it could end up controlling us.