Location of power supply
EMC will be a major factor.  There are quite strict laws in many countries now around how much noise a power supply may inject into the incoming mains.  Designing a switch mode power supply that meets the regulations in every country is a specialised business.
For that reason, it's a lot simpler for a company to buy in ready-made power supplies than to try to design them in house.