Prime Minister Anthony Albanese has bowed to mounting pressure from the states, promising $25 billion for public hospitals.