The Austrian military didn’t just adopt LibreOffice; they actually contributed back to it. Over five person-years of development work went into adding features they needed. Those improvements are now available to everyone using LibreOffice, which is pretty cool.
Curiosity apart, the intelligent object removing in PS is also based on the Resynthesize, which is a invention from GIMP. It it used now also by other editors, even in online versions, like eg.Lunapic, there called “Remove and inpaint” in the seleccion tool.