But the employee's time is a replenishable resource (1 second per second).
The Total risk is not losing your job. It's losing your job + struggling strongly to find another one (considering loss income while searching, stress, ...). Or workplace injury / death.
An investor, while facing low to none risk of workplace injury / death, can permanently lose the investment and won't recover it ever (hopefully the investor hedges it with other investments)