You also seem to be describing a case where California is a direct market participant (they're paying the contractors). States are allowed to discriminate in favor of their own citizens (or, I guess, anyone else) when they themselves participate in the market.
It's not just that they don't require employees to travel there, they also don't pay for trips "This bill would prohibit a state agency from ... approving a request for state-funded or state-sponsored travel to ..."
The bill doesn't explicitly forbid government employees (and by extension, the government of California) from doing business with North Carolina - it just adds personal, out-of-pocket cost for doing so. (which probably amounts to the same effect.)
Travel from a prohibited state, including the return flight back, shall be construed as travel “to” the original destination.
(I don't follow college sports enough to know whether CA and NC even have any universities in the same conference, though, so it might be moot)
PROHIBITION ON STATE-FUNDED AND STATE-SPONSORED TRAVEL TO STATES WITH DISCRIMINATORY LAWS (https://oag.ca.gov/ab1887)
In effect, this law means that if any member of California government picks a contractor / supplier / conference in North Carolina, then that person has to pay for any related travel out of their own pocket. The idea is that this will hugely disincentize any one in the California government from doing business with companies located in North Carolina.
I guess we'll have to see if there's ever a legal challenge to it.