Even alien androids built by another advanced civilization took over the flagship of the Federation in 2267. Norman and the other Mudd androids basically took over the Enterprise with no exertion whatsoever. Androids routinely pose dangers to the safety of Starfleet ships and their crews so I can't blame the Federation for being wary when a Synth or AI goes online and does more than basic service tasks.