That was honestly not what I got from what she said, she is merely stating what is now pretty much a fact that the UK and the US are just simply not reliable, and as such more emphasis should be given to securing things internally than seeking help outside, the UK not only did Brexit for a completely stupid political play which would be terrible even if remain had won, but is now talking about hard Brexits and not owning previously agreed to engagements (talking of the brexit bill), the USA the only country to have evoked article 5 did not explicitly supported it in a time of unease with Russia, and is threatening to leave the Paris agreement, something which they only very recently entered, not to mention relying on Trump or the GOP for anything is shaky at best.
In short I do not think she is actively seeking to distance herself from the UK and the USA in fact the article mentions "While Germany and Europe would strive to remain on good terms with America and Britain, "we have to fight for our own destiny", Merkel went on." just more internal cohesion.