The US military will become “leaner” as it switches focus to the Asia-Pacific region, President Barack Obama has announced.