Hurricane Irma clobbered Puerto Rico with rain on Wednesday as residents heeded the governor's warning to stay inside as the storm bore down on the island.