The Friends alum plays a power-hungry, maverick NSA agent who joins an inept and tactless computer analyst in the British comedy series premiering.