Some Nespresso machine drip trays don’t come out. Instead, they fold up to allow you to put a taller cup under the dispenser.
Other times the drip tray may become stuck due to leftover coffee. Try wiggling it a bit and then lifting it to remove the drip tray.