US President Donald Trump has taken a swipe at the previous Obama administration, suggesting it was "too soft" on Russia over its annexation of Crimea.