A government attempt to impose ethical guardrails on the use of artificial intelligence in Chile is drawing pushback from global technology giants, a debate that could set precedents as nations around the world reckon with how to regulate the rapidly growing industry.