Germany agrees to acquire 40% stake in top European tank manufacturer