The interplay between quantum foundations and quantum technologies: Counterfactual communication, and extensions of quantum mechanics