Also factor in that some of these benefits are paid for with before-tax money, while if you paid them yourself they would be with after-tax money. This is not a trivial consideration.
https://www.mysolo401k.net/solo-401k/solo-401k-contribution-...
A sole proprietorship is almost as easy to file as a 1099, and a good choice when a liability veil would be easily be peirced (as you're representing your own skills)