The US Department of Justice has said it is considering asking a judge to force Google to sell parts of its business.