Does this exist?

A software that is designed to crop out something, or the background. Possible? Feasible? image a picture of a car, you want only the car left behind, no background or anything other than the car. would it need AI learning?

Photoshop and other editing software does this, with increasingly accurate automated “content aware” fill. Most of the time still relying on refinement by hand.