Due to the volume shifted on a single train, it does work out cheaper than road haulage, but where the money is made depends on the business model employed.
The aggregate rail depot I managed made only a small margin, because it’s main purpose was to act as a satellite outlet for the quarry...