From Canada to Japan, a series of masterplans for future cities will see tomorrow’s urban enclaves double as live test hubs for global technology firms.