Amazon engineers face new restrictions on AI-assisted code after outages hit its retail site, highlighting growing risks of generative AI in production systems.