For now.
Globalisation's great right up until your manufacturing base decides they don't like you, or you them.
Reshoring is expensive for all the reasons offshoring was ever tempting in the first place, so we'll have to wait and see how this plays out.
If China stops selling you solar panels tomorrow, you still have all the solar panels they sold you until now.
And why do you see reshoring as the only alternative? Seems like a false dilemma. There's more than two places on the globe.