Former US president Barack Obama returns to the political fray, forcefully rebuking his successor Donald Trump and the Republican Party before hitting the campaign trail for Democrats.