> the landlord could deny you access
..or grant themselves access. That's the other risk that the parent comment pointed out.
> In practice, most companies will rent office space without batting an eye.
Presumably, though, they also put in security cameras and don't leave the "crown jewels" (source repo?) exclusively accessible from that office space and needing nothing more than the landlord's key to do so.
> it still feels like a similar calculated risk thing
It certainly feels like it, but is it actually? Is anyone actually even pausing to think about it, let alone calculate the risk?
> the alternative of doing it yourself takes away too much from focusing on your business
I can't help but wonder if the effort required isn't routinely over-estimated. Some of these things aren't that hard, and, when they're critical to the business, there's an argument to be made that doing it oneself is focusing on the business.
I can personally attest to repeatedly running into labor/effort over-estimation in the cloud-vs-hardware decision. This, like (at least rudimentary) chat is a well-enough understood problem that an accurate estimate is actually possible.