As recently as last year, the gig economy’s “independent contractor” business model seemed like an unstoppable force. It started with Uber, but soon spread to food delivery and before long was entering new sectors, such as freight, logistics and healthcare.