It will not do that unless you specifically teach it to do that, or you use an Anthropic model. The issue in this case was Anthropic's safety monitoring built into the model. They record everything and flag potential illegal activity for human review. This occurs even over the API. I do not know if OpenAI does this, but I would not be surprised. I think the Chinese models are far less likely to do this (unless one resides in China).
I’m suggesting it’s highly unlikely it will call the FBI to dob you in. That affirmatively trained behaviour, not something one should expect to accidentally happen.