With regard to that 10%, don't forget that much of it is spent on the salaries of the individuals actually allocating capital (i.e taking money from some source, such as depositors or investors, and acting on their behalf to invest or loan it elsewhere), such as bank managers, fund managers and investment bankers. Bitcoin cannot decide whether a firm or individual has a good chance of paying capital back, and so its role in allocating capital in nil I would say. An algorithmically-determined money supply would however render infeasible the idea of discretionary or near-discretionary monetary policy, which would free up many economists from the ECB, Fed and Bank of England, and so would free up resources in that regard (whether that is optimal would depend on the algorithm of course).
For any computer system to do allocate capital optimally, it would need to have to sort of assessment ability a human has - or else have a very, very good dataset.