Check with Lenovo. They had a large number of Thinkpads with bad usbc ports. They might cover it outside of warranty.
A really long time ago they had a bios bug where if you did a battery test it would never end the test and be stuck with a turned off charge port and a dead battery, with no way to turn the test off.