Em dashes being associated with AI is a disservice to them; in many cases they're a far more suitable use of punctuation in interrupting a sentence than parentheses.
In this instance, however, the em dashes between the first and second parts of sentences would be better replaced with semicolons than commas, in my opinion.