Tesla founder and CEO Elon Musk has told a conference in the US that he can foresee a time when driving cars may be outlawed.