I'm going to give an old fogey reply to this. I've been having to write occasional long technical documents on a computer for about 45 years. Don't ask how I did it 45 years ago! Microsoft actually gave me free copies of Word throughout the late 80s and early 90s trying to get me to adopt it, but I always found it couldn't handle long documents (200 or more pages, and I've had some go to 800+) without corruption or crashing. I've found two factors in having a stable word processing environment.
First -- don't use WYSIWYG until the very end. With long documents, these word processors tend to roll over and die.
Second -- use an editor that easily allows breaking up a document into individual sections. Divide and conquer, and also the larger the document the harder it falls.
I see the OP mentions Scrivener, which I use and meets both of these criteria. It is available for Windows, which helps with collaboration, but it is a commercial product. If I had to collaborate on a very large document and do it on the cheap, I'd go with using LaTeX plus any ASCII text editor, and keep chapters in individual files.