They can only be owned by their copyright holders, which is separate from patents.
If anyone had a patent on virtual dom / diffing, then they could sue anyone else that used an implementation that was implemented in the same way as the implementation in the patent. That doesn't then mean that they "own" those implementations, only that they can use the courts to stop others using them or pay to licence their patent.