iirc all flight systems are in triplicate and all data is checked against the others, then a quarum is needed from the 3 to make a decision.
other rockets use rad hardened computers that make decisions on their own, but for cost and time, I believe SpaceX just triplicated all necessary systems and votes out and reboots any system that gets bit flips.