Railroad technology improve profits for companies because : it resulted in faster and cheaper long distance shipping
Faster and cheaper shipping means that the companies will manage to cut their total expenditure, which mean their net income will be higher
hope this helps