A machine learns from what’s programmed into it—and sometimes, that reinforces historical, discriminatory practices.