Japan’s weak yen is reshaping its economy but, with deep roots in global trade and innovation, the country is built to adapt.