A 5-year-old boy with cancer became a superhero for a day Friday, as San Francisco transformed itself into Gotham City and thousands turned out to see the Batkid fly to the rescue.