I think from what i've heard of palliative care nurses, many people just want to die alone and people hanging around all the time just prolongs the process.
My Gran died two weeks ago after a few weeks on end of life care in a care home. She only moved in there in January after a hip fracture and few weeks in hospital.
She was 92, had spent the last 3 months telling everyone she didn't know why she was still here and wanted to go. She was restricting her food and fluids.
She was semi-concious up until the day before she died. All of her 4 children and numerous GC were in and out, she died with one of her DC there but that was only because that DC refused to leave and was being a twat to be honest.
In and out of lucidity for the 3 weeks before that. Some days talking normally, others saying some words with her eyes closed, other days, not responding at all.
A friend was in a similar situation a year ago and the family spent two weeks by the bedside with her saying nothing at all.
Another family I know from a different culture, their Mum had always been at home and they were all gathered at her bedside for 'the end' 10 months before she actually died. At the end she weighed 5 stone, hadn't spoken for months but seemed to respond to family around her. when she died, only a few members were there in comparison to the multitude that had been there before.
It really depends.
But don't fear someone dying alone. Or thinking that shouldn't happen. It really doesn't matter and families put undue stress on themselves wanting to be there. Death is part of life and love is love. You don;t have to be there at the last breath for the person to know they were loved, often, they don;t want you to be.