Arista is a profitable AI infrastructure supplier, while BigBear.ai is positioning to win more government contracts.