Trump has renewed his criticism of Nato, questioning whether the alliance would come to America’s defence and suggesting it should be “put to the test” by deploying forces to the US–Mexico border.