To play devils advocate, there is a cost associated with enforcing this law and this is effectively paid for by the tax payers. There is a cost for complying with the law, this generally disadvantages small and new business. If only CA(and CO and NYC and CT) have this requirement it makes them less desirable places to start a new business, to hire additional employees.
But the costs for a law like this are not prohibitive