Apple faced a new competitive threat in China as Huawei released a smartphone capable of ultrafast data connectivity.