The film rights are owned by Sony. As part of the deal in relinquishing some creative control to Disney for the MCU, Sony also has exclusivity to Spider-Man centric video games (e.g., other games, like Midnight Suns, can use Spider-Man as a supporting character, but not the primary character).