Martin Sorrell's S4 Capital has bought Silicon Valley's biggest independent agency, Firewood, for $150 million in its latest deal to form a purely digital global advertising firm.