The US is hitting so-called Islamic State harder than ever, President Barack Obama says in a rare speech at the Pentagon.