Optimal investment with intermediate consumption under no unbounded profit with bounded risk