France has savaged Australia over a submarine deal with Britain and the United States, claiming their country has been stabbed in the back.