Joint German-Norwegian team wins multibillion-dollar deal as Ottawa pivots away from US