Three-storey building collapses