America’s biggest companies chose to usie their tax savings to offset risings costs, including for labor, transportation and imports caught up in the trade disputes.