Marco Rubio is ending his campaign for the Republican nomination for president after a loss in his home state of Florida.