While AI has the power to revolutionize human resources, it also leaves HR professionals open to certain risks.