Amid Western tech containment and export curbs, suffering sanctions or driven by a wake-up call, many Chinese tech firms have been forced to turn to domestic alternatives.