[ONNX] Add warning for inplace updates on tensor.shape in tracing mode (#63170)
* Add warning
* Lint and clang fixes
* Remove duplicate comments
* Added pitfalls section
* Modify sections
* Minor modifications
* Add underline to avoid doc build failures
ghstack-source-id: a7941e7a5c5facf5fdae0a114d5d92dcda9751c6
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66142