US President Donald Trump says during a visit to Jerusalem that Iran must never be allowed to have nuclear weapons, while also denouncing Tehran's support for "terrorists".