The decision to cancel Play was made after NBA Experience closed, but before the permanent closure announcement was made. There's not much correlation, aside from them both being interactive experiences and a large amount of the project team having been part of both projects. I think the decision for NBA was more "This had poor attendance pre-COVID, it absolutely couldn't survive post-COVID and we can just blame the closure on the pandemic" and Play was more "Interactive experiences post pandemic? That could be a bad idea, let's press pause." Then when the conversation was held on when/how to unpause it, they realized it just wasn't worth finishing for a variety of factors.
Also worth mentioning one was a standalone experience with separate admission, the other was part of a greater theme park. Attendance wouldn't have been an issue.
This was a big thing. Creative on Play was done over five years ago. I spoke to some people on the project team, they openly admitted that much of the tech they were working with was already somewhat dated even then. Opening Play as it was originally envisioned just isn't feasible today, if they were sticking with the same basic concept they would need to start over on a lot of it.