Google designs the Tensor chips. Samsung is merely the foundry partner that manufacturers them for Google. Switching to TSMC is not a guarantee for better performance as the fundamental design is flawed.
The Qualcomm snapdragon 8 gen3 is a superior chip that would better serve a GrapheneOS phone.