An East Bay miniature golf venue could be demolished and replaced with a five-story apartment building.