A US politician has suggested autonomous cars would better being tested on private roads rather than public.