Several people nominated to roles in Donald Trump's incoming cabinet and administration have been targeted by bomb threats and "swatting," a spokesperson for the US president-elect has said.