A man has been arrested after three people were killed after an alleged attack in a home in Sydney’s south-west.