The federal government may offer more help to struggling US automakers but only if they can show they can be commercially viable, US president Barack Obama has said.