Add some AI guidelines to CONTRIBUTING.md (#21931)