BRUGES, Belgium—Xavier Vanneste, heir to a dynasty of beer brewers in this medieval city, had a pipe dream.

When he woke up and looked out of his window one spring morning, he saw workers on the street laying underground utility cables in front of his house, situated on the same ancient square as the brewery he runs.

“I immediately realized...