s9(3), Copyright Designs& Patents Act 1988 says the dentist is the author and hence the default first owner of copyright. If they have a prior agreement with th machine supplier then that may transfer copyright.

Either way, the patient doesn't own copyright - just like you don't (by default) own the copyright in a photo of you taken by a photographer.