The 36-year-old is in critical condition after allegedly being assaulted in south-west Sydney. A man is in police custody.