To be fair, LLMs usually use em-dashes correctly, whereas I think this document misuses them more often than not. For example:
> This can be extraordinarily powerful for summarizing documents — or of answering more specific questions of a large document like a datasheet or specification.
That dash shouldn't be there. That's not a parenthetical clause, that's an element in a list separated by "or." You can just remove the dash and the sentence becomes more correct.
LLMs also generally don't put spaces around em dashes — but a lot of human writers do.
I don't know whether that use of the em-dash is grammatically correct, but I've seen enough native English writers use it like that. One example is Philip K Dick.