US President Donald Trump has indicated that the war with Iran could continue for up to four weeks, warning that further American casualties are likely as fighting intensifies across the region.