President Barack Obama told Americans nervous about terror and the changing economy that they should not fear the future, in a farewell State of the Union address that drew sharp contrast with Republicans.