Today from The Detail: Artificial intelligence is driving the expansion of the gig economy, but with growth comes growing pains.