F1 engines have used pneumatic valve closure for quite some time due to extremely high revs - which in the past had them revving as high as 20K (but now limited to 15K)
Pneumatic Valve Actuation in F1

F1 cars are still using camshafts DOHC 4 valves per cylinder by regulation:
"5.1.8 Engines must have two inlet and two exhaust valves per cylinder.
Only reciprocating poppet valves with axial displacement are permitted"

And F1 technical regulations continue to ban VVT/VVL:
"5.9.2 Variable valve timing and variable valve lift profile systems are not permitted"
F1-TechnischesReglement