Boston ranks as the fifth-most expensive city among 40 global cities, according to a comparison of the cost of doing business for the banking and financial services industry. But banks and financial services firms are prioritizing technologies such as artificial intelligence, and are willing to pay Boston’s cost of $12.3 million per year because of the city’s flourishing AI scene here, the study found. The Boyd Co.