LONDONEuropean governments can’t require internet companies to retain data indiscriminately, the European Union’s top court said Wednesday in a ruling that could complicate their efforts to expand surveillance powers.