The U.S. Justice Department said on Tuesday it was opening an investigation of major digital tech firms on whether they engage in anticompetitive practices.