Plans to shift care out of hospital and into the community have come ‘dangerously late’, health chiefs have warned