The only facility that is buildable on your allies territory is the rail line because it’s the only facility that is built on a territory line instead of the territory itself.
Example: I know a rail line exist but for the sake of argument.
Lets say UK wanted to build a rail line between Jordan and Syria. You would build it on the Jordan-Syrian line however because Syria is French, you need France’s permission to do this.