A man has pleaded guilty to being the owner of a XL bully which killed his neighbour while it was dangerously out of control.