Capcom created the Resident Evil games, and the film adaptations were a separate production in which Paul W. S. Anderson served as writer and director.
Sony's involvement was in distributing the films rather than originating the franchise, so the game side of the question comes back to Capcom.