The FBI says a man in Utah was fatally shot as agents tried to arrest him for threatening to assassinate the president, just hours before a visit by Biden to the state.