The structure of work is shifting as digital platforms connect workers with opportunities in ways that resemble markets.