In the scenario presented (London, mostly not segregated bike paths), the solution is for the cyclist to ride in a way they're not endangering pedestrians.
There's even a fairly recent UK law (https://www.gov.uk/government/news/the-highway-code-8-change...) that more or less says in a collision, the "stronger" road user is at fault unless proven otherwise. That applies to car v. cyclist as much as cyclist v. pedestrian.
There's even a fairly recent UK law (https://www.gov.uk/government/news/the-highway-code-8-change...) that more or less says in a collision, the "stronger" road user is at fault unless proven otherwise. That applies to car v. cyclist as much as cyclist v. pedestrian.