As of WordPress 4.4, the Get Shortlink button is hidden by default. This plugin brings it back. Yay.
Please note that the button does not exist at all in a Block Editor context. It will only show up when using the Classic Editor, for example, when editing a single attachment.