Four tech giants—Amazon, Apple, Facebook and Google—have added $2 trillion to their combined market capitalization since the 2007-09 recession, a sum that approaches the GDP of India. The concentrated wealth and power of these companies has alarmed many observers, who see their growth as a threat not just to consumers and other businesses but to American society itself.

After...