While you can work your abs lying down, the most effective core exercises are functional moves done standing. Functional exercises mimic everyday moves and easily translate to real-life activities.
Gym equipment was never designed for just one type of exercise, even if, over time, certain machines started getting associated with individual exercises. For example, the Smith machine with squats, ...