Former President Barack Obama has privately told allies in recent days that Joe Biden's path to victory has greatly diminished.