President Barack Obama says the US “will not be terrorised” by Wednesday’s mass shootings in San Bernardino, California.