How British tech firms can battle American rivals — and thrive