Any railway company which may have built its road to the boundary line of the state may extend into the adjoining state and for that purpose may build, buy, or lease a railroad in the adjoining state and operate the railroad. The company may own such real estate and other property in the adjoining state as may be convenient in operating the road.