A man has been charged with murder after an alleged fatal assault in Ryde, Sydney.