A hundred years ago, an enterprising housewife would have an opportunity to work in the home by sewing. There was a particularly lucrative (for the company, not the worker) business in getting housewives to sew baseballs. The company would send the machine and the material, and the woman would get busy making baseballs, and would be paid for each one. It was called piecework. Of course, the cost of that machine and the materials would be deducted from her wages, and certainly quality mattered so not all her products would be deemed well-done enough to deserve compensation, so in reality, you got cheap labour agreeing to its own exploitation.
If you change a few of those nouns around, you have Uber. The gig economy is piecework by another name.