Companies defy warnings about impact of Trump trade war to beat forecasts at one of highest rates on record