Nothing in this chapter shall be construed to make it lawful for any railroad corporation to purchase or consolidate with any parallel or competing line of railway, whether constructed or in course of construction, or to exempt railroad companies from paying state, county, or municipal taxes upon such extensions, branches or new lines.