Google and the US Justice Department have wrapped up closing arguments over claims that the Alphabet unit has unlawfully dominated web search and related advertising.