Independent contractors are nothing new — taxi drivers paying to use a medallion, barbers renting out chairs to cut hair, local artisans selling jewelry and apparel on consignment — but the boom in online platforms that give everyone immediate access to these services and products has resulted in an “on-demand” economy and workforce whose true size and scope is unknown.