From parts to software, the Chinese technology giant has become more than just a supplier.