It may be worth noting that as of two weeks ago AB5 makes the "just recharacterize your employees as contractors" play much more difficult.
The law would be agnostic about this because the worker is getting the benefits of employment so long as he/she is an employee of some company. This new proposed legislation would make it matter which company is designated as the employer, for purposes of ratio calculation.
Note: I have not been able to find the text of this bill, nor have I read AB5 (just read news about it).