Barack Obama says the motive behind the White House Correspondents' Dinner shooting remains unclear despite writings allegedly targeting Trump.