Health Secretary Wes Streeting warned the doctors’ union they risked helping Nigel Farage take the keys to No 10.