Michael Bloomberg is ending his presidential bid and endorsing Joe Biden, after the former New York City mayor spent hundreds of millions of dollars of his own money in an expensive bet on Super Tuesday states that was ultimately unsuccessful.

“After yesterday’s results, the delegate math has become virtually impossible—and a viable path to the nomination no longer exists,” Mr. Bloomberg said Wednesday.

“I’ve...