The documentation our rtdb lists here: rtdb lists
uses the $key property as follows:
<button (click)="updateItem(item.$key, updatetext.value)">Update</button>
<button (click)="deleteItem(item.$key)">Delete</button>
but in Ver 5 (according to the docs here version-5-upgrade indicates that you are:
Moving away from $key and $value
The sample provided on the first reference therefore does not work anymore with "angularfire2": "^5.0.0-rc.2",