Regulating AI to protect the consumer