The answer is C. to convince banks that railroads were good investments
By giving grants, railroad companies will gained a certain control for specific territories for the railroad building process.
Banks will saw this as an opportunity to invest because it guarantee positive cashflow for the companies in the future.