Japan’s economy expanded for a seventh consecutive quarter in 2017 as business investment and exports advanced. A semiconductor equipment boom supported trade and industrial activity, while capacity growth and the possibility of a supply-demand imbalance remained important risks.