See for example how Boeing works with the airplanes ( https://theprint.in/world/boeing-engineers-blame-cheap-india... )
At the end, I wouldn't be surprised if ChatGPT writes parts of critical code in some companies.
Just it would be very problematic to say it and nobody has interest into revealing that.