A Sydney cleaner who murdered her elderly client by beating and stabbing her is sentenced to 22 years in prison.