Oracle Corp. has bought the naming rights to the San Francisco Giants' stadium for more than $200 million, according to people familiar with the matter — a second deal to boost its brand image by sponsoring a hometown sports facility in the San Francisco Bay Area.