Secret control of a Swiss device enabled the US and Germany to collect classified information, reports say.