Two senior politicians from Trump's Republican party have broken ranks with the president, warning it only helps Russia.