Adding sensors and other devices to bridges, tunnels and buildings can turn them into “smart structures” capable of sensing and, in some cases, even responding to problems. The Economist reports.