The rise of 5G, the fifth generation of wireless connectivity, has captured the attention of some US city governments as they seek to leverage technology to upgrade urban infrastructure and services.