A European Union court largely upheld an antitrust decision against Google, adding new momentum to the bloc’s assault on big tech companies.