Section 51M. Neither the commonwealth nor any city, town or other authority shall give or grant any contract, license, permit or franchise to any person for the transportation of persons for hire by a public or private carrier, or to any person engaged in the business of leasing motor vehicles under the ???drive-it-yourself??? system, so called, or any similar system, which contract, license, perm