Threats from Trump are prompting presidential candidates to call for greater European autonomy in defence.