Just to concur with and expand upon 'Tooseevee's' advice, that cable end does look mauled. Here is a selection of speedo cables, etc. from our Forum host's Online Parts Catalog offering various lengths to suit different models, most for about £25:
https://accessories.hitchcocksmotorcycles.com/s.nl?ext=F&sc=1&category=&search=cable%20speedo. You would do well before ordering to closely examine the item's "Fitting Guide" and/or contact Hitchcocks for advice on the proper cable for your particular bike. There may be less expensive options available online, but getting the right one for the job of decent quality would be far less certain.
I should also mention that such damage to the cable end may have been caused by a malfunctioning (stuck or sticky) speedometer drive or speedometer. Hence, a close examination of both to insure their free operation would be highly advisable. Those plastic-cased OEM speedometer drives are particularly prone to jamming up, but in view of their low cost should just be replaced if found faulty--perhaps with a more robust metal-encased one.
There are also universal speedo cable "core repair" kits available that one can trim down to suit, but again, in view of the low cost, a new cable with a fresh outer casing would be preferable.