In California employers are absolutely not allowed to prevent workers from working for competitors outside of their working hours.
You are correct that they can limit vacation time, but Uber could also limit vacation time for contractors. There is nothing specific in California employment law that does not allow employers and employees to mutually agree to open vacation time.