That's exactly what I was taught - 'bout 25 years ago -, and that's exactly what the current grammar books tell us: "Never use a possessive case with inanimate things" (apart from some cases: time, duration, pets aso...)
I'm well aware that things have changed, but are the ESL foreign teachers ?...