Investment in smaller UK tech businesses increased 27% to £4.0bn last year