US President Donald Trump has strongly condemned violence against Tesla dealerships, calling it domestic terrorism and warning of severe consequences for those involved.