A federal judge declined to block Elon Musk’s team from accessing U.S. Labor Department systems, raising concerns about potential conflicts of interest.