A 20-year-old man who police accused of entering a WA property armed with a machete has died in hospital days after a violent altercation with the homeowner.