Apple boosted production in India and chartered cargo flights to ferry iPhones to the U.S. to ensure inventory amid concern Trump’s tariffs will push up costs.