Raiders have virtually no chance. They play NE, @KC, DAL and @ PHI in the remaining 7 games. They already have 5 losses. Not sure how they even get to 8-8 with that schedule.
The Ravens, on the other hand, I can see getting the final spot with an 8-8 record. Unless the Bills can actually get to 9 wins (unlikely) they'll lose a tiebreaker to the Ravens based on conference record. That's if the Bills even get to 8 wins, which I'm not sure they do. 7-9 seems like a good bet at this point.