“According to the current state of our investigation, this was an Islamist-motivated attack,” the office told the German news agency dpa.
They did not reveal the man’s identity, as is customary in Germany.
The suspect is being investigated for attempted murder.
Six people were injured, three of them severely, when the man allegedly drove into several vehicles, including a motorcycle, along a stretch of the German capital’s motorway on Tuesday evening.
The crashes at three different locations led to a complete closure of one of the main traffic arteries of Berlin.
There were also indications that the man was suffering from psychological problems, dpa reported.
Local media reported that the man, who was driving an Opel Astra, later stopped on the motorway and put a box on the roof of his car, claiming it had explosives inside.
Specialists opened the box and found only tools.
The man was detained by police.
Several media also reported that the man shouted “allahu akbar” or “God is great” as he got out of his car.
One of the injured is in a life-threatening condition, dpa reported.
The incident led to long traffic jams.
Some 300 people were stuck on the motorway for hours and were getting support from the German Red Cross, the Berlin fire department tweeted.