Railways heretofore constructed, or that may hereafter be constructed, in this state, are hereby declared public highways and all railroads are declared to be common carriers and subject to control by law. All electric, transmission, telegraph, telephone, or pipeline corporations, for the transportation of electricity, messages, water, oil, or other property for profit, are declared to be common carriers and subject to control by law.