Jeremy Corbyn has warned that Tory infighting over Brexit is putting Britain on a path to "economic disaster".