Guardrails are needed for artificial intelligence so consumers can have confidence information on the internet is accurate and real, lawmakers say.