Voters across the United States have elected Donald Trump to the White House, driven by concerns about the economy and immigration.