Four Tesla cars have been set on fire in Germany in an arson attack and police say a "political motive cannot be excluded".