Britain had large amount of colonies and therefore access to a large market. The markets were designed to extract wealth, see for e.g. https://averyreview.com/issues/57/empire-salt-tax
The industries in Britain had access to such huge monopolistic markets, so not really a surprise.
I love comments like this... they say "well like just build amazon, easy as that"
Britain was the largest empire in history and covered 25% of the Earth's surface area. What was it which allowed them to become the largest empire in history?