Companies are increasingly investing in spaces that prioritise collaboration and community.