Matte paintings as in physical paintings on glass aren’t used anymore, but the same basic techniques are used all the time in a digital environment. If the camera isn’t going to move too much, or for objects in the far background, making them as full 3D cg geometry is usually unnecessarily expensive.