 In the masterplan backed by President Xi Jinping himself, China will invest an estimated 1.4 trillion over six years to 2025, calling on urban governments and private tech giants like Huawei Technologies Co. to lay fifth generation wireless networks, install cameras and sensors, and develop AI software that will underpin autonomous driving to automated factories and mass surveillance. 