Leland Stanford sent ships to China to transport workers to lay railroad tracks.
During that period, many Chinese immigrants seeks a way to United States in order to buy new lands for Gold mining.
Standford saw this as an opportunity to get additional workers in railroad building so he sent a ship there.