They'll always need people to write the software, classic problem, programs that write programs, or programs that can even tell what another program's purpose is.
Maybe they'll feed us burger and fries wihle we sit, chained to a PC, coding away, with an early-model sex-robot giving us blowjobs and the occasional electric shock ;+}